commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1546005 - in /commons/proper/imaging/trunk/src/conf: checkstyle-suppressions.xml checkstyle.xml
Date Wed, 27 Nov 2013 12:02:03 GMT
Author: ebourg
Date: Wed Nov 27 12:02:03 2013
New Revision: 1546005

URL: http://svn.apache.org/r1546005
Log:
Adjust checkstyle configuration

Modified:
    commons/proper/imaging/trunk/src/conf/checkstyle-suppressions.xml
    commons/proper/imaging/trunk/src/conf/checkstyle.xml

Modified: commons/proper/imaging/trunk/src/conf/checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/conf/checkstyle-suppressions.xml?rev=1546005&r1=1546004&r2=1546005&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/conf/checkstyle-suppressions.xml (original)
+++ commons/proper/imaging/trunk/src/conf/checkstyle-suppressions.xml Wed Nov 27 12:02:03
2013
@@ -25,5 +25,6 @@
 <!-- ===================================================================== -->
 
 <suppressions>
+  <suppress checks="MagicNumber" files="ColorConversions.java"/>
 
 </suppressions>

Modified: commons/proper/imaging/trunk/src/conf/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/conf/checkstyle.xml?rev=1546005&r1=1546004&r2=1546005&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/conf/checkstyle.xml (original)
+++ commons/proper/imaging/trunk/src/conf/checkstyle.xml Wed Nov 27 12:02:03 2013
@@ -138,7 +138,7 @@ limitations under the License.
         <module name="IllegalInstantiation"/>
         <module name="InnerAssignment"/>
         <module name="MagicNumber">
-            <property name="ignoreNumbers" value="-1,0,1,2,3,8,16,24,32,255"/>
+            <property name="ignoreNumbers" value="-1,0,1,2,3,4,8,16,24,32,64,128,255,256,1024"/>
         </module>
         <module name="RedundantThrows">
             <property name="allowUnchecked" value="true"/>



Mime
View raw message