[java-shib-shared] branch main updated: New Document element method should return an Element.
Scott Cantor
cantor.2 at osu.edu
Thu May 4 15:40:06 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-shib-shared.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=3a32914ced0cdb87eb2b15d6e4fc35b05699a09a
The following commit(s) were added to refs/heads/main by this push:
new 3a32914c New Document element method should return an Element.
3a32914c is described below
commit 3a32914ced0cdb87eb2b15d6e4fc35b05699a09a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu May 4 11:40:03 2023 -0400
New Document element method should return an Element.
---
.../src/main/java/net/shibboleth/shared/xml/ElementSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shib-support/src/main/java/net/shibboleth/shared/xml/ElementSupport.java b/shib-support/src/main/java/net/shibboleth/shared/xml/ElementSupport.java
index dbc1847b..10be289d 100644
--- a/shib-support/src/main/java/net/shibboleth/shared/xml/ElementSupport.java
+++ b/shib-support/src/main/java/net/shibboleth/shared/xml/ElementSupport.java
@@ -454,7 +454,7 @@ public final class ElementSupport {
*
* @since 9.0.0
*/
- @Nonnull public static Node ensureDocumentElement(@Nonnull final Document doc) {
+ @Nonnull public static Element ensureDocumentElement(@Nonnull final Document doc) {
final Element e = doc.getDocumentElement();
if (e == null) {
throw new IllegalStateException("Document element was null");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list