[java-identity-provider COMMIT] in /trunk: idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/TicketValidation...

noreply at shibboleth.net noreply at shibboleth.net
Mon Jun 15 15:18:14 EDT 2015


Author: scantor
Date: Mon Jun 15 15:18:13 2015
New Revision: 7560

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7560&view=rev
Log:
Remove redundant type arguments.

Modified:
    trunk/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/TicketValidationResponse.java
    trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionSupportTest.java
    trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionTestingSupport.java
    trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/SAML2ActionSupportTest.java
    trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/SAML2ActionTestingSupport.java

Modified: trunk/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/TicketValidationResponse.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/TicketValidationResponse.java?rev=7560&r1=7559&r2=7560&view=diff
==============================================================================
--- trunk/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/TicketValidationResponse.java	(original)
+++ trunk/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/TicketValidationResponse.java	Mon Jun 15 15:18:13 2015
@@ -36,7 +36,7 @@
 
     @Nullable private String pgtIou;
 
-    @Nonnull private List<String> proxies = new ArrayList<String>();
+    @Nonnull private List<String> proxies = new ArrayList<>();
 
     @Nonnull public String getUserName() {
         return userName;

Modified: trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionSupportTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionSupportTest.java?rev=7560&r1=7559&r2=7560&view=diff
==============================================================================
--- trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionSupportTest.java	(original)
+++ trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionSupportTest.java	Mon Jun 15 15:18:13 2015
@@ -42,7 +42,7 @@
 
     /** Strategy used to locate the {@link RelyingPartyContext} associated with a given {@link ProfileRequestContext}. */
     private Function<ProfileRequestContext, RelyingPartyContext> relyingPartyContextLookupStrategy =
-            new ChildContextLookup<ProfileRequestContext, RelyingPartyContext>(RelyingPartyContext.class, false);
+            new ChildContextLookup<>(RelyingPartyContext.class);
 
     /**
      * Test that when an assertion is added to response it goes there.

Modified: trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionTestingSupport.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionTestingSupport.java?rev=7560&r1=7559&r2=7560&view=diff
==============================================================================
--- trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionTestingSupport.java	(original)
+++ trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml1/profile/SAML1ActionTestingSupport.java	Mon Jun 15 15:18:13 2015
@@ -87,7 +87,7 @@
      * @return the constructed {@link ProfileConfiguration}
      */
     public static Collection<ProfileConfiguration> buildProfileConfigurations() {
-        ArrayList<ProfileConfiguration> profileConfigs = new ArrayList<ProfileConfiguration>();
+        ArrayList<ProfileConfiguration> profileConfigs = new ArrayList<>();
 
         SecurityConfiguration securityConfig = new SecurityConfiguration();
 

Modified: trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/SAML2ActionSupportTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/SAML2ActionSupportTest.java?rev=7560&r1=7559&r2=7560&view=diff
==============================================================================
--- trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/SAML2ActionSupportTest.java	(original)
+++ trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/SAML2ActionSupportTest.java	Mon Jun 15 15:18:13 2015
@@ -42,7 +42,7 @@
 
     /** Strategy used to locate the {@link RelyingPartyContext} associated with a given {@link ProfileRequestContext}. */
     private Function<ProfileRequestContext, RelyingPartyContext> relyingPartyContextLookupStrategy =
-            new ChildContextLookup<ProfileRequestContext, RelyingPartyContext>(RelyingPartyContext.class, false);
+            new ChildContextLookup<>(RelyingPartyContext.class);
 
     /**
      * Test that when an assertion is added to response it goes there.

Modified: trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/SAML2ActionTestingSupport.java

[... 14 lines stripped ...]


More information about the commits mailing list