[java-identity-provider COMMIT] in /trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context: Authenticatio...

noreply at shibboleth.net noreply at shibboleth.net
Mon Dec 9 10:27:06 EST 2013


Author: scantor
Date: Mon Dec  9 10:27:06 2013
New Revision: 5004

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5004&view=rev
Log:
Add generic type when building collections.

Modified:
    trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java
    trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java

Modified: trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java?rev=5004&r1=5003&r2=5004&view=diff
==============================================================================
--- trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java (original)
+++ trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java Mon Dec  9 10:27:06 2013
@@ -55,8 +55,8 @@
     public AuthenticationErrorContext() {
         super();
         
-        exceptions = new ArrayList();
-        classifiedErrors = new HashSet();
+        exceptions = new ArrayList<>();
+        classifiedErrors = new HashSet<>();
     }
 
     /**

Modified: trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java?rev=5004&r1=5003&r2=5004&view=diff
==============================================================================
--- trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java (original)
+++ trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java Mon Dec  9 10:27:06 2013
@@ -46,7 +46,7 @@
     public AuthenticationWarningContext() {
         super();
         
-        classifiedWarnings = new HashSet();
+        classifiedWarnings = new HashSet<>();
     }
 
     /**



More information about the commits mailing list