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 23:42:42 UTC

svn commit: r1129391 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/xmlrules/FactoryCreateRule.java

Author: simonetripodi
Date: Mon May 30 21:42:41 2011
New Revision: 1129391

URL: http://svn.apache.org/viewvc?rev=1129391&view=rev
Log:
fixed checkstyle violation: Line is longer than 120 characters.
minor code format

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/xmlrules/FactoryCreateRule.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/xmlrules/FactoryCreateRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/xmlrules/FactoryCreateRule.java?rev=1129391&r1=1129390&r2=1129391&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/xmlrules/FactoryCreateRule.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/xmlrules/FactoryCreateRule.java Mon May 30 21:42:41 2011
@@ -42,7 +42,10 @@ final class FactoryCreateRule
     protected void bindRule( LinkedRuleBuilder linkedRuleBuilder, Attributes attributes )
         throws Exception
     {
-        linkedRuleBuilder.factoryCreate().ofType( attributes.getValue( "classname" ) ).overriddenByAttribute( attributes.getValue( "attrname" ) ).ignoreCreateExceptions( "true".equalsIgnoreCase( attributes.getValue( "ignore-exceptions" ) ) );
+        linkedRuleBuilder.factoryCreate()
+            .ofType( attributes.getValue( "classname" ) )
+            .overriddenByAttribute( attributes.getValue( "attrname" ) )
+            .ignoreCreateExceptions( "true".equalsIgnoreCase( attributes.getValue( "ignore-exceptions" ) ) );
     }
 
 }