You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2003/12/30 08:08:48 UTC
cvs commit: jakarta-commons-sandbox/uid checkstyle.xml
psteitz 2003/12/29 23:08:48
Modified: uid checkstyle.xml
Log:
Reduced to a set of less onerous checks.
Revision Changes Path
1.2 +2 -14 jakarta-commons-sandbox/uid/checkstyle.xml
Index: checkstyle.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/uid/checkstyle.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- checkstyle.xml 24 Dec 2003 08:59:45 -0000 1.1
+++ checkstyle.xml 30 Dec 2003 07:08:48 -0000 1.2
@@ -30,24 +30,18 @@
<!-- ************************************************************** -->
<module name="Header">
<property name="headerFile" value="${basedir}/LICENSE.txt"/>
- <property name="ignoreLines" value="2,3,4,10"/>
+ <property name="ignoreLines" value="2,6,24"/>
</module>
<property name="tabWidth" value="4"/>
<module name="LeftCurly">
<property name="option" value="eol"/>
</module>
- <module name="RightCurly">
- <property name="option" value="alone"/>
- </module>
<module name="LineLength">
<property name="max" value="132"/>
</module>
<module name="MethodLength">
<property name="max" value="175"/>
</module>
- <!-- No Paren pad check
- <module name="ParenPad"/>
- -->
<module name="ConstantName">
<property name="format" value="log|^[a-zA-Z][a-zA-Z0-9_]*$"/>
</module>
@@ -107,19 +101,14 @@
<!-- Checks for blocks. You know, those {}'s -->
<!-- See http://checkstyle.sf.net/config_blocks.html -->
- <module name="AvoidNestedBlocks"/>
- <module name="EmptyBlock"/>
-
+ <module name="AvoidNestedBlocks"/>
<module name="NeedBraces"/>
-
<!-- Checks for common coding problems -->
<!-- See http://checkstyle.sf.net/config_coding.html -->
<module name="AvoidInlineConditionals"/>
<module name="DoubleCheckedLocking"/>
- <module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
- <module name="HiddenField"/>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
@@ -136,7 +125,6 @@
<module name="DesignForExtension">
<property name="severity" value="ignore"/> <!-- DISABLED -->
</module>
- <module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/>
<module name="VisibilityModifier"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org