You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by di...@apache.org on 2007/10/24 00:10:16 UTC

svn commit: r587674 - /commons/proper/jexl/branches/2.0/src/conf/checkstyle.xml

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>