[java-shib-shared] branch main updated: Add missing annotation.

Scott Cantor cantor.2 at osu.edu
Fri Mar 31 16:04:41 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=8b80a334cead30b08769cc718e4e8dd5093614a7

The following commit(s) were added to refs/heads/main by this push:
     new 8b80a334 Add missing annotation.
8b80a334 is described below

commit 8b80a334cead30b08769cc718e4e8dd5093614a7
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Mar 31 12:04:37 2023 -0400

    Add missing annotation.
---
 .../src/main/java/net/shibboleth/shared/primitive/CleanerSupport.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shib-support/src/main/java/net/shibboleth/shared/primitive/CleanerSupport.java b/shib-support/src/main/java/net/shibboleth/shared/primitive/CleanerSupport.java
index 05203422..05a1e2e5 100644
--- a/shib-support/src/main/java/net/shibboleth/shared/primitive/CleanerSupport.java
+++ b/shib-support/src/main/java/net/shibboleth/shared/primitive/CleanerSupport.java
@@ -41,11 +41,11 @@ public final class CleanerSupport {
      * 
      * @return the cleaner instance
      */
-    public static Cleaner getInstance(@Nonnull final Class<?> requester) {
+    @Nonnull public static Cleaner getInstance(@Nonnull final Class<?> requester) {
         // Current approach here is to create a new Cleaner on each call. A given class requester/owner
         // is assumed to call only once and store in static storage.
         LOG.debug("Creating new java.lang.ref.Cleaner instance requested by class:  {}", requester.getName());
         return Cleaner.create();
     }
 
-}
+}
\ No newline at end of file

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


More information about the commits mailing list