You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2009/09/05 20:11:50 UTC

svn commit: r811691 - /commons/proper/math/trunk/checkstyle.xml

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" />