commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1129092 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
Date Mon, 30 May 2011 09:44:46 GMT
Author: simonetripodi
Date: Mon May 30 09:44:46 2011
New Revision: 1129092

URL: http://svn.apache.org/viewvc?rev=1129092&view=rev
Log:
fixed checkstyle format violations

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java?rev=1129092&r1=1129091&r2=1129092&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/LinkedRuleBuilder.java
Mon May 30 09:44:46 2011
@@ -56,7 +56,10 @@ public final class LinkedRuleBuilder
      */
     public BeanPropertySetterBuilder setBeanProperty()
     {
-        return addProvider( new BeanPropertySetterBuilder( this.keyPattern, this.namespaceURI,
this.mainBinder, this ) );
+        return addProvider( new BeanPropertySetterBuilder( this.keyPattern,
+                                                           this.namespaceURI,
+                                                           this.mainBinder,
+                                                           this ) );
     }
 
     /**
@@ -201,7 +204,11 @@ public final class LinkedRuleBuilder
                                  keyPattern );
         }
 
-        return addProvider( new SetPropertyBuilder( keyPattern, namespaceURI, mainBinder,
this, attributePropertyName ) );
+        return addProvider( new SetPropertyBuilder( keyPattern,
+                                                    namespaceURI,
+                                                    mainBinder,
+                                                    this,
+                                                    attributePropertyName ) );
     }
 
     /**
@@ -231,7 +238,8 @@ public final class LinkedRuleBuilder
     {
         if ( methodName == null || methodName.length() == 0 )
         {
-            mainBinder.addError( "{ forPattern( \"%s\" ).setTop( String ) } empty 'methodName'
not allowed", keyPattern );
+            mainBinder.addError( "{ forPattern( \"%s\" ).setTop( String ) } empty 'methodName'
not allowed",
+                                 keyPattern );
         }
 
         return addProvider( new SetTopBuilder( keyPattern, namespaceURI, mainBinder, this,
methodName, classLoader ) );
@@ -304,11 +312,12 @@ public final class LinkedRuleBuilder
      * @param provider The rule provider
      * @return a new {@link ByRuleProviderBuilder} instance.
      */
-    public <R extends Rule> ByRuleProviderBuilder<R> addRuleCreatedBy(RuleProvider<R>
provider)
+    public <R extends Rule> ByRuleProviderBuilder<R> addRuleCreatedBy( RuleProvider<R>
provider )
     {
         if ( provider == null )
         {
-            mainBinder.addError( "{ forPattern( \"%s\" ).addRuleCreatedBy() } null rule provider
not valid", keyPattern );
+            mainBinder.addError( "{ forPattern( \"%s\" ).addRuleCreatedBy() } null rule provider
not valid",
+                                 keyPattern );
         }
 
         return addProvider( new ByRuleProviderBuilder<R>( keyPattern, namespaceURI,
mainBinder, this, provider ) );



Mime
View raw message