[java-identity-provider COMMIT] /trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver...

noreply at shibboleth.net noreply at shibboleth.net
Mon Nov 25 06:04:20 EST 2013


Author: rdw
Date: Mon Nov 25 06:04:19 2013
New Revision: 4968

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4968&view=rev
Log:
Checkstyle

Modified:
    trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AttributeResolutionContext.java

Modified: trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AttributeResolutionContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AttributeResolutionContext.java?rev=4968&r1=4967&r2=4968&view=diff
==============================================================================
--- trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AttributeResolutionContext.java (original)
+++ trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AttributeResolutionContext.java Mon Nov 25 06:04:19 2013
@@ -38,7 +38,6 @@
 import org.opensaml.messaging.context.BaseContext;
 
 import com.google.common.base.Predicates;
-import com.google.common.collect.Constraints;
 import com.google.common.collect.MapConstraints;
 
 /** A context which carries and collects information through an attribute resolution. */
@@ -59,7 +58,7 @@
 
     /** Constructor. */
     public AttributeResolutionContext() {
-        requestedAttributes = Constraints.constrainedSet(new HashSet<IdPAttribute>(), Constraints.notNull());
+        requestedAttributes = new HashSet<IdPAttribute>();
 
         resolvedAttributes =
                 MapConstraints.constrainedMap(new HashMap<String, IdPAttribute>(), MapConstraints.notNull());



More information about the commits mailing list