[java-identity-provider] branch master updated: Initial collection needs to be mutable also.

Scott Cantor cantor.2 at osu.edu
Thu Jan 30 10:37:41 EST 2020


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

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=a5c8908670b2b6e72b2fa2fef47fb47ea67d6b60

The following commit(s) were added to refs/heads/master by this push:
       new  a5c8908   Initial collection needs to be mutable also.
a5c8908 is described below

commit a5c8908670b2b6e72b2fa2fef47fb47ea67d6b60
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 30 10:37:38 2020 -0500

    Initial collection needs to be mutable also.
---
 .../idp/attribute/resolver/context/AttributeResolutionContext.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
index 3eee451..4eaaa9e 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
@@ -79,7 +79,7 @@ public final class AttributeResolutionContext extends BaseContext {
     /** Constructor. */
     public AttributeResolutionContext() {
         allowCachedResults = true;
-        requestedAttributeNames = Collections.emptySet();
+        requestedAttributeNames = new HashSet<>();
         resolvedAttributes = Collections.emptyMap();
     }
     

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


More information about the commits mailing list