[java-identity-provider COMMIT] in /trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingp...

noreply at shibboleth.net noreply at shibboleth.net
Tue Dec 16 06:07:39 EST 2014


Author: rdw
Date: Tue Dec 16 06:07:39 2014
New Revision: 7114

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7114&view=rev
Log:
CheckStyle

Modified:
    trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/AbstractDynamicHTTPMetadataProviderParser.java
    trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPMetadataProviderParser.java

Modified: trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/AbstractDynamicHTTPMetadataProviderParser.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/AbstractDynamicHTTPMetadataProviderParser.java?rev=7114&r1=7113&r2=7114&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/AbstractDynamicHTTPMetadataProviderParser.java (original)
+++ trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/AbstractDynamicHTTPMetadataProviderParser.java Tue Dec 16 06:07:39 2014
@@ -20,7 +20,6 @@
 import java.util.List;
 
 import net.shibboleth.utilities.java.support.primitive.StringSupport;
-import net.shibboleth.utilities.java.support.xml.AttributeSupport;
 import net.shibboleth.utilities.java.support.xml.XMLConstants;
 
 import org.apache.http.auth.UsernamePasswordCredentials;
@@ -95,9 +94,11 @@
      * Build the definition of the HTTPClientBuilder which contains all our configuration.
      * 
      * @param element the HTTPMetadataProvider parser.
-     * @param parserContext
+     * @param parserContext thee context
      * @return the bean definition with the parameters.
      */
+    // Checkstyle: CyclomaticComplexity OFF
+    // Checkstyle: MethodLength OFF
     private BeanDefinition buildHttpClient(Element element, ParserContext parserContext) {
         String caching = DEFAULT_CACHING;
         if (element.hasAttributeNS(null, "httpCaching")) {
@@ -170,6 +171,9 @@
 
         return clientBuilder.getBeanDefinition();
     }
+    // Checkstyle: CyclomaticComplexity ON
+    // Checkstyle: MethodLength ON
+
 
     /**
      * Build the POJO with the username and password.

Modified: trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPMetadataProviderParser.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPMetadataProviderParser.java?rev=7114&r1=7113&r2=7114&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPMetadataProviderParser.java (original)
+++ trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPMetadataProviderParser.java Tue Dec 16 06:07:39 2014
@@ -106,6 +106,8 @@
      * @param parserContext 
      * @return the bean definition with the parameters.
      */
+    // Checkstyle: CyclomaticComplexity OFF
+    // Checkstyle: MethodLength OFF
     private BeanDefinition buildHttpClient(Element element, ParserContext parserContext) {
         String caching = DEFAULT_CACHING;
         if (element.hasAttributeNS(null, "httpCaching")) {
@@ -178,6 +180,8 @@
 
         return clientBuilder.getBeanDefinition();
     }
+    // Checkstyle: CyclomaticComplexity ON
+    // Checkstyle: MethodLength OFF
 
     /**
      * Build the POJO with the username and password.



More information about the commits mailing list