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/28 17:45:08 UTC

svn commit: r1128681 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/SetPropertiesRule.java

Author: simonetripodi
Date: Sat May 28 15:45:08 2011
New Revision: 1128681

URL: http://svn.apache.org/viewvc?rev=1128681&view=rev
Log:
fixed checkstyle violation: 'if' construct must use '{}'s.

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

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/SetPropertiesRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/SetPropertiesRule.java?rev=1128681&r1=1128680&r2=1128681&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/SetPropertiesRule.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/SetPropertiesRule.java Sat May 28 15:45:08 2011
@@ -205,7 +205,9 @@ public class SetPropertiesRule
                 Object top = getDigester().peek();
                 boolean test = PropertyUtils.isWriteable( top, attributeName );
                 if ( !test )
+                {
                     throw new NoSuchMethodException( "Property " + attributeName + " can't be set" );
+                }
             }
 
             if ( attributeName != null )