[java-identity-provider] branch master updated: Eliminate another unneeded generic use.

Scott Cantor cantor.2 at osu.edu
Thu Aug 8 13:14:59 EDT 2019


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=6558c85aa05017c3401c96dadfdf8b916d8fa3eb

The following commit(s) were added to refs/heads/master by this push:
       new  6558c85   Eliminate another unneeded generic use.
6558c85 is described below

commit 6558c85aa05017c3401c96dadfdf8b916d8fa3eb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 8 13:14:54 2019 -0400

    Eliminate another unneeded generic use.
---
 .../main/java/net/shibboleth/idp/authn/AbstractValidationAction.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AbstractValidationAction.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AbstractValidationAction.java
index 206ff4c..14e1b29 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AbstractValidationAction.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AbstractValidationAction.java
@@ -246,11 +246,9 @@ public abstract class AbstractValidationAction extends AbstractAuthenticationAct
      * 
      * <p>Setting to a null or empty collection will maintain the default behavior of relying on the flow.</p>
      * 
-     * @param <T> a type of principal to add, if not generic
      * @param principals supported principals to include
      */
-    public <T extends Principal> void setSupportedPrincipals(
-            @Nullable @NonnullElements final Collection<T> principals) {
+    public void setSupportedPrincipals(@Nullable @NonnullElements final Collection<Principal> principals) {
         ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
         
         getSubject().getPrincipals().clear();

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


More information about the commits mailing list