[java-shib-profile] branch main updated: Tighten annotation.

Codeberg noreply at shibboleth.net
Wed Sep 16 16:07:41 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-shib-profile.

View the commit online:
https://codeberg.org/Shibboleth/java-shib-profile/commit/6a363c123658d3242aee79c1f001a3784c5a83fb

The following commit(s) were added to refs/heads/main by this push:
     new 6a363c1  Tighten annotation.
6a363c1 is described below

commit 6a363c123658d3242aee79c1f001a3784c5a83fb
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Sep 16 12:07:31 2026 -0400

    Tighten annotation.
---
 .../config/navigate/IdentifierGenerationStrategyLookupFunction.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shib-profile-api/src/main/java/net/shibboleth/profile/config/navigate/IdentifierGenerationStrategyLookupFunction.java b/shib-profile-api/src/main/java/net/shibboleth/profile/config/navigate/IdentifierGenerationStrategyLookupFunction.java
index 3ea9bcc..7eabe91 100644
--- a/shib-profile-api/src/main/java/net/shibboleth/profile/config/navigate/IdentifierGenerationStrategyLookupFunction.java
+++ b/shib-profile-api/src/main/java/net/shibboleth/profile/config/navigate/IdentifierGenerationStrategyLookupFunction.java
@@ -14,6 +14,7 @@
 
 package net.shibboleth.profile.config.navigate;
 
+import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 
 import net.shibboleth.profile.config.ProfileConfiguration;
@@ -45,7 +46,7 @@ public class IdentifierGenerationStrategyLookupFunction
     }
 
     /** {@inheritDoc} */
-    @Nullable public IdentifierGenerationStrategy apply(@Nullable final ProfileRequestContext input) {
+    @Nonnull public IdentifierGenerationStrategy apply(@Nullable final ProfileRequestContext input) {
         
         final RelyingPartyContext rpc = getRelyingPartyContextLookupStrategy().apply(input);
         if (rpc != null) {

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


More information about the commits mailing list