[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateAuthenticat...

noreply at shibboleth.net noreply at shibboleth.net
Thu Dec 26 22:02:10 EST 2013


Author: scantor
Date: Thu Dec 26 22:02:10 2013
New Revision: 5091

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5091&view=rev
Log:
Remove unused getter.

Modified:
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateAuthenticationContext.java

Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateAuthenticationContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateAuthenticationContext.java?rev=5091&r1=5090&r2=5091&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateAuthenticationContext.java (original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/PopulateAuthenticationContext.java Thu Dec 26 22:02:10 2013
@@ -29,7 +29,6 @@
 import net.shibboleth.idp.authn.context.AuthenticationContext;
 import net.shibboleth.idp.authn.principal.PrincipalEvalPredicateFactoryRegistry;
 import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements;
-import net.shibboleth.utilities.java.support.annotation.constraint.Unmodifiable;
 import net.shibboleth.utilities.java.support.component.ComponentSupport;
 import net.shibboleth.utilities.java.support.logic.Constraint;
 
@@ -39,7 +38,6 @@
 
 import com.google.common.base.Predicates;
 import com.google.common.collect.Collections2;
-import com.google.common.collect.ImmutableList;
 
 /**
  * An action that populates an {@link AuthenticationContext} with the {@link AuthenticationFlowDescriptor}
@@ -63,15 +61,6 @@
     /** Constructor. */
     PopulateAuthenticationContext() {
         availableFlows = new ArrayList<>();
-    }
-    
-    /**
-     * Get the flows available for possible use.
-     * 
-     * @return  flows available for possible use
-     */
-    @Nonnull @NonnullElements @Unmodifiable public Collection<AuthenticationFlowDescriptor> getAvailableFlows() {
-        return ImmutableList.copyOf(availableFlows);
     }
     
     /**



More information about the commits mailing list