commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=587674&view=rev
Log:
Allow comment suppression

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=587674&r1=587673&r2=587674&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:10:16 2007
@@ -196,7 +196,15 @@
         </module-->
         <!--module name="TodoComment"/-->
         <module name="UpperEll"/>
-
+        
+        <!-- used for suppression comment filter -->
+        <module name="FileContentsHolder"/>
     </module>
+
+	<module name="SuppressionCommentFilter">
+   		<property name="offCommentFormat" value="CSOFF\: ([\w\|]+)"/>
+   		<property name="onCommentFormat" value="CSON\: ([\w\|]+)"/>
+   		<property name="checkFormat" value="$1"/>
+	</module>
 
 </module>



Mime
View raw message