[java-shib-attribute] branch main updated: IDP-2069 Null handling

Rod Widdowson rdw at steadingsoftware.com
Fri Feb 24 08:27:44 UTC 2023


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

rdw pushed a commit to branch main
in repository java-shib-attribute.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=6869aad79cede35b524903f6cdc97ab9c8e6dfc6

The following commit(s) were added to refs/heads/main by this push:
     new 6869aad79 IDP-2069 Null handling
6869aad79 is described below

commit 6869aad79cede35b524903f6cdc97ab9c8e6dfc6
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Feb 24 08:22:29 2023 +0000

    IDP-2069 Null handling
    
    https://shibboleth.atlassian.net/browse/IDP-2069
    
    Clean up annotation.
---
 .../idp/attribute/resolver/context/AttributeResolutionContext.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java b/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
index a2d65972c..8d3be5069 100644
--- a/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
+++ b/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
@@ -263,7 +263,7 @@ public final class AttributeResolutionContext extends BaseContext {
      * 
      * @return this context
      */
-    @Nullable public AttributeResolutionContext setPrincipal(@Nullable final String who) {
+    @Nonnull public AttributeResolutionContext setPrincipal(@Nullable final String who) {
         principal = who;
         
         return this;

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


More information about the commits mailing list