[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAd...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Aug 26 17:19:22 EDT 2013
Author: scantor
Date: Mon Aug 26 17:19:22 2013
New Revision: 4726
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4726&view=rev
Log:
Remove dependency on immutable list.
Modified:
trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java
Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java?rev=4726&r1=4725&r2=4726&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java (original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateUserAgentAddress.java Mon Aug 26 17:19:22 2013
@@ -50,8 +50,8 @@
import org.slf4j.LoggerFactory;
import com.google.common.base.Predicates;
-import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
+import com.google.common.collect.Lists;
/**
* An action that ensures that a user-agent address found within a {@link UserAgentContext}
@@ -123,7 +123,7 @@
public void setDesignatedRanges(@Nonnull @NonnullElements Collection<IPRange> ranges) {
ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
- designatedRanges = ImmutableList.copyOf(Iterables.filter(ranges, Predicates.notNull()));
+ designatedRanges = Lists.newArrayList(Iterables.filter(ranges, Predicates.notNull()));
}
/** {@inheritDoc} */
More information about the commits
mailing list