[java-opensaml] branch maint-5.1 updated: Fix Null annotation bugs.
Scott Cantor
cantor.2 at osu.edu
Mon Mar 17 18:00:54 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-5.1
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=e03edc97c80ca91442c3410a7fe19da262575e70
The following commit(s) were added to refs/heads/maint-5.1 by this push:
new e03edc97c Fix Null annotation bugs.
e03edc97c is described below
commit e03edc97c80ca91442c3410a7fe19da262575e70
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