commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r587672 - /commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml
Date Tue, 23 Oct 2007 22:03:28 GMT
Author: dion
Date: Tue Oct 23 15:03:27 2007
New Revision: 587672

URL: http://svn.apache.org/viewvc?rev=587672&view=rev
Log:
loosen magic number.
remove todo errors

Modified:
    commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml

Modified: commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml?rev=587672&r1=587671&r2=587672&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml (original)
+++ commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml Tue Oct 23 15:03:27 2007
@@ -167,7 +167,9 @@
         <module name="HiddenField"/>
         <module name="IllegalInstantiation"/>
         <module name="InnerAssignment"/>
-        <module name="MagicNumber"/>
+        <module name="MagicNumber">
+        	<property name="ignoreNumbers" value="-1, 0, 1, 2, 3"/>
+        </module>
         <module name="MissingSwitchDefault"/>
         <module name="RedundantThrows"/>
         <module name="SimplifyBooleanExpression"/>
@@ -192,7 +194,7 @@
             <property name="format" value="\s+$"/>
             <property name="message" value="Line has trailing spaces."/>
         </module-->
-        <module name="TodoComment"/>
+        <!--module name="TodoComment"/-->
         <module name="UpperEll"/>
 
     </module>



Mime
View raw message