[java-opensaml] branch main updated: Add missing @Nonnull.

Brent Putman putmanb at georgetown.edu
Thu May 22 03:18:12 UTC 2025


This is an automated email from the git hooks/post-receive script.

putmanb pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=08098f977e986c7f8e8383eb795ffc8ff1a6f2ca

The following commit(s) were added to refs/heads/main by this push:
     new 08098f977 Add missing @Nonnull.
08098f977 is described below

commit 08098f977e986c7f8e8383eb795ffc8ff1a6f2ca
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed May 21 23:15:58 2025 -0400

    Add missing @Nonnull.
---
 .../src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-core-api/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java b/opensaml-core-api/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java
index 334bb09eb..833d3ec75 100644
--- a/opensaml-core-api/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java
+++ b/opensaml-core-api/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java
@@ -102,7 +102,7 @@ public final class XMLObjectSupport {
      * @throws MarshallingException if original object can not be marshalled
      * @throws UnmarshallingException if cloned object tree can not be unmarshalled
      */
-    public static <T extends XMLObject> T cloneXMLObject(@Nonnull final T originalXMLObject)
+    @Nonnull public static <T extends XMLObject> T cloneXMLObject(@Nonnull final T originalXMLObject)
             throws MarshallingException, UnmarshallingException {
         return cloneXMLObject(originalXMLObject, CloneOutputOption.DropDOM);
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list