directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1692015 - /directory/buildtools/checkstyle-configuration/trunk/src/main/resources/directory-checks.xml
Date Mon, 20 Jul 2015 19:52:56 GMT
Author: seelmann
Date: Mon Jul 20 19:52:56 2015
New Revision: 1692015

URL: http://svn.apache.org/r1692015
Log:
Further tuning of checkstyle checks, disable HiddenField and TodoComment.

Modified:
    directory/buildtools/checkstyle-configuration/trunk/src/main/resources/directory-checks.xml

Modified: directory/buildtools/checkstyle-configuration/trunk/src/main/resources/directory-checks.xml
URL: http://svn.apache.org/viewvc/directory/buildtools/checkstyle-configuration/trunk/src/main/resources/directory-checks.xml?rev=1692015&r1=1692014&r2=1692015&view=diff
==============================================================================
--- directory/buildtools/checkstyle-configuration/trunk/src/main/resources/directory-checks.xml
(original)
+++ directory/buildtools/checkstyle-configuration/trunk/src/main/resources/directory-checks.xml
Mon Jul 20 19:52:56 2015
@@ -145,7 +145,9 @@
 
         <!-- Checks for whitespace                               -->
         <!-- See http://checkstyle.sf.net/config_whitespace.html -->
-        <module name="EmptyForIteratorPad"/>
+        <module name="EmptyForIteratorPad">
+            <property name="option" value="space"/>
+        </module>
         <module name="MethodParamPad"/>
         <module name="NoWhitespaceAfter">
             <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
@@ -190,11 +192,11 @@
         <!-- module name="AvoidInlineConditionals"/ -->
         <module name="EmptyStatement"/>
         <module name="EqualsHashCode"/>
-        <module name="HiddenField">
+        <!-- module name="HiddenField">
             <property name="ignoreSetter" value="true"/>
             <property name="ignoreConstructorParameter" value="true"/>
             <property name="setterCanReturnItsClass" value="true"/>
-        </module>
+        </module -->
         <module name="IllegalInstantiation"/>
         <module name="InnerAssignment"/>
         <!-- module name="MagicNumber"/ -->
@@ -219,7 +221,7 @@
         <!-- See http://checkstyle.sf.net/config_misc.html -->
         <module name="ArrayTypeStyle"/>
         <!-- module name="FinalParameters"/ -->
-        <module name="TodoComment"/>
+        <!-- module name="TodoComment"/ -->
         <module name="UpperEll"/>
 
     </module>



Mime
View raw message