[java-opensaml] branch main updated: Fix Null annotation bugs.

Scott Cantor cantor.2 at osu.edu
Mon Mar 17 18:00:03 UTC 2025


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

scantor 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=c0d023589c24dee6a78c9cb117157e600eb0bb89

The following commit(s) were added to refs/heads/main by this push:
     new c0d023589 Fix Null annotation bugs.
c0d023589 is described below

commit c0d023589c24dee6a78c9cb117157e600eb0bb89
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Mar 17 13:59:59 2025 -0400

    Fix Null annotation bugs.
---
 .../impl/HttpServletRequestParametersValidationHandler.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestParametersValidationHandler.java b/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestParametersValidationHandler.java
index 442497144..1c3dc2ce6 100644
--- a/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestParametersValidationHandler.java
+++ b/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestParametersValidationHandler.java
@@ -44,7 +44,7 @@ public class HttpServletRequestParametersValidationHandler extends AbstractHttpS
     /** Unique parameters. */
     @Nonnull private Set<String> uniqueParameters = CollectionSupport.emptySet();
     
-    /** Mutually exclusive parameters */
+    /** Mutually exclusive parameters. */
     @Nonnull private Set<Set<String>> mutuallyExclusiveParameters = CollectionSupport.emptySet();
 
     /**
@@ -65,7 +65,7 @@ public class HttpServletRequestParametersValidationHandler extends AbstractHttpS
      * 
      * @param params the required parameters
      */
-    @Nonnull public void setRequiredParameters(@Nullable final Set<String> params) {
+    public void setRequiredParameters(@Nullable final Set<String> params) {
         checkSetterPreconditions();
         requiredParameters = CollectionSupport.copyToSet(StringSupport.normalizeStringCollection(params));
     }
@@ -88,7 +88,7 @@ public class HttpServletRequestParametersValidationHandler extends AbstractHttpS
      * 
      * @param params the unique parameters
      */
-    @Nonnull public void setUniqueParameters(@Nullable final Set<String> params) {
+    public void setUniqueParameters(@Nullable final Set<String> params) {
         checkSetterPreconditions();
         uniqueParameters = CollectionSupport.copyToSet(StringSupport.normalizeStringCollection(params));
     }
@@ -113,7 +113,7 @@ public class HttpServletRequestParametersValidationHandler extends AbstractHttpS
      * 
      * @param params the mutually exclusive parameters 
      */
-    @Nonnull public void setMutuallyExclusiveParameters(@Nonnull final Set<Set<String>> params) {
+    public void setMutuallyExclusiveParameters(@Nullable final Set<Set<String>> params) {
         checkSetterPreconditions();
         if (params == null) {
             mutuallyExclusiveParameters = CollectionSupport.emptySet();

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


More information about the commits mailing list