[java-shib-shared] branch main updated: Fix some warnings.

Scott Cantor cantor.2 at osu.edu
Wed Feb 1 18:53:37 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=c58fbbf7ecc6988beda5d79ebb464f58e8efae11

The following commit(s) were added to refs/heads/main by this push:
     new c58fbbf7 Fix some warnings.
c58fbbf7 is described below

commit c58fbbf7ecc6988beda5d79ebb464f58e8efae11
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 1 13:53:34 2023 -0500

    Fix some warnings.
---
 .../java/net/shibboleth/shared/collection/CollectionSupport.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/shib-support/src/main/java/net/shibboleth/shared/collection/CollectionSupport.java b/shib-support/src/main/java/net/shibboleth/shared/collection/CollectionSupport.java
index 31d39c9d..544afe81 100644
--- a/shib-support/src/main/java/net/shibboleth/shared/collection/CollectionSupport.java
+++ b/shib-support/src/main/java/net/shibboleth/shared/collection/CollectionSupport.java
@@ -88,7 +88,7 @@ public final class CollectionSupport {
         final Function<R, NonnullSupplier<R>> func =
                 new NonnullFunction<R, NonnullSupplier<R>>() {
                     @Override @Nonnull
-                    public NonnullSupplier<R> apply(@Nullable R input) {
+                    public NonnullSupplier<R> apply(@Nullable final R input) {
                         return NonnullSupplier.of(Constraint.isNotNull(input, "Null result from collector"));
                     }
                 };
@@ -135,7 +135,7 @@ public final class CollectionSupport {
     }
 
     /**
-     * Gets a list with non-null guarantee and a variable number of members
+     * Gets a list with non-null guarantee and a variable number of members.
      *
      * @param <T> list type
      * @param elements the elements
@@ -203,7 +203,7 @@ public final class CollectionSupport {
     }
 
     /**
-     * Gets a set with non-null guarantee and a variable number of members
+     * Gets a set with non-null guarantee and a variable number of members.
      *
      * @param <T> list type
      * @param elements the elements

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


More information about the commits mailing list