You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/05/30 09:19:37 UTC

svn commit: r1129020 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/FactoryCreateHandler.java

Author: simonetripodi
Date: Mon May 30 07:19:36 2011
New Revision: 1129020

URL: http://svn.apache.org/viewvc?rev=1129020&view=rev
Log:
fixed checkstyle violations
'(' is not followed by whitespace.
')' is not preceded with whitespace.	

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/FactoryCreateHandler.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/FactoryCreateHandler.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/FactoryCreateHandler.java?rev=1129020&r1=1129019&r2=1129020&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/FactoryCreateHandler.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/FactoryCreateHandler.java Mon May 30 07:19:36 2011
@@ -38,11 +38,11 @@ public final class FactoryCreateHandler
      */
     public void handle( FactoryCreate annotation, Class<?> element, RulesBinder rulesBinder )
     {
-        FactoryCreateBuilder builder = rulesBinder.forPattern(annotation.pattern())
-            .withNamespaceURI(annotation.namespaceURI())
+        FactoryCreateBuilder builder = rulesBinder.forPattern( annotation.pattern() )
+            .withNamespaceURI( annotation.namespaceURI() )
             .factoryCreate()
-            .overriddenByAttribute(annotation.attributeName().length() > 0 ? annotation.attributeName() : null)
-            .ignoreCreateExceptions(annotation.ignoreCreateExceptions());
+            .overriddenByAttribute( annotation.attributeName().length() > 0 ? annotation.attributeName() : null )
+            .ignoreCreateExceptions( annotation.ignoreCreateExceptions() );
 
         if ( FactoryCreate.DefaultObjectCreationFactory.class != annotation.factoryClass() )
         {