You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2004/02/29 11:22:23 UTC
cvs commit: jakarta-cactus checkstyle.xml
vmassol 2004/02/29 02:22:23
Modified: . checkstyle.xml
Log:
prevent addition of @author tags from now on...
Revision Changes Path
1.21 +13 -4 jakarta-cactus/checkstyle.xml
Index: checkstyle.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/checkstyle.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- checkstyle.xml 14 Feb 2004 11:54:56 -0000 1.20
+++ checkstyle.xml 29 Feb 2004 10:22:23 -0000 1.21
@@ -86,24 +86,33 @@
<property name="publicMemberPattern" value="^[a-z][a-zA-Z0-9]*$"/>
</module>
<module name="FinalClass"/>
+
+ <!-- Avoid finalizers (this will not find violations that contain
+ linebreaks) -->
<module name="GenericIllegalRegexp">
- <!-- Avoid finalizers
- (this will not find violations that contain linebreaks) -->
<property name="format"
value="((public)|(protected))\s+void\s+finalize\(\s*\)"/>
<property name="message" value="Avoid finalizers"/>
</module>
+
+ <!-- No direct printing to System.out or System.err -->
<module name="GenericIllegalRegexp">
- <!-- No direct printing to System.out or System.err -->
<property name="format" value="System\.(out|err)\."/>
<property name="message"
value="Don't write directly to System.out our System.err"/>
</module>
+ <!-- No @author tags -->
+ <module name="GenericIllegalRegexp">
+ <property name="format" value="@author"/>
+ <property name="message"
+ value="No @author tag allowed"/>
+ </module>
+
<!-- Javadoc related checks -->
<module name="JavadocType">
<property name="scope" value="private"/>
- <property name="authorFormat" value="\S"/>
+ <!--property name="authorFormat" value=""/-->
<property name="versionFormat" value="\$Id.*\$"/>
</module>
<module name="JavadocMethod">
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org