[java-shib-shared] branch main updated: Add missing annotations.
Scott Cantor
cantor.2 at osu.edu
Tue Mar 14 23:41:56 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=8ea3416e5c09bce2041493b0ba6cd1324119210d
The following commit(s) were added to refs/heads/main by this push:
new 8ea3416e Add missing annotations.
8ea3416e is described below
commit 8ea3416e5c09bce2041493b0ba6cd1324119210d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Mar 14 19:41:54 2023 -0400
Add missing annotations.
---
.../src/main/java/net/shibboleth/shared/xml/ElementSupport.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
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 ed9b37ea..dd27e516 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
@@ -104,7 +104,8 @@ public final class ElementSupport {
*
* @return the element
*/
- public static Element constructElement(@Nonnull final Document document, @Nonnull final QName elementName) {
+ @Nonnull public static Element constructElement(@Nonnull final Document document,
+ @Nonnull final QName elementName) {
Constraint.isNotNull(elementName, "Element name can not be null");
return constructElement(document, elementName.getNamespaceURI(), elementName.getLocalPart(),
elementName.getPrefix());
@@ -120,8 +121,8 @@ public final class ElementSupport {
*
* @return the element
*/
- public static Element constructElement(@Nonnull final Document document, @Nullable final String namespaceURI,
- @Nonnull final String localName, @Nullable final String prefix) {
+ @Nonnull public static Element constructElement(@Nonnull final Document document,
+ @Nullable final String namespaceURI, @Nonnull final String localName, @Nullable final String prefix) {
Constraint.isNotNull(document, "Document may not be null");
final String trimmedLocalName =
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list