commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r811691 - /commons/proper/math/trunk/checkstyle.xml
Date Sat, 05 Sep 2009 18:11:50 GMT
Author: psteitz
Date: Sat Sep  5 18:11:50 2009
New Revision: 811691

URL: http://svn.apache.org/viewvc?rev=811691&view=rev
Log:
Added check for System.out.println stmts in code.

Modified:
    commons/proper/math/trunk/checkstyle.xml

Modified: commons/proper/math/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/checkstyle.xml?rev=811691&r1=811690&r2=811691&view=diff
==============================================================================
--- commons/proper/math/trunk/checkstyle.xml (original)
+++ commons/proper/math/trunk/checkstyle.xml Sat Sep  5 18:11:50 2009
@@ -97,6 +97,13 @@
       <property name="illegalPattern" value="true"/>
       <property name="message" value="Trailing whitespace"/>
     </module>
+    
+    <!-- No System.out.println() statements -->
+    <module name="Regexp">
+      <!-- no sysouts -->
+      <property name="format" value="System\.out\.println"/>
+      <property name="illegalPattern" value="true"/>
+    </module>
 
     <!--
     <module name="DeclarationOrder" />



Mime
View raw message