commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1477744 - /commons/proper/collections/trunk/checkstyle.xml
Date Tue, 30 Apr 2013 18:03:29 GMT
Author: tn
Date: Tue Apr 30 18:03:28 2013
New Revision: 1477744

URL: http://svn.apache.org/r1477744
Log:
Add trailing whitespace checkstyle rule.

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

Modified: commons/proper/collections/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/checkstyle.xml?rev=1477744&r1=1477743&r2=1477744&view=diff
==============================================================================
--- commons/proper/collections/trunk/checkstyle.xml (original)
+++ commons/proper/collections/trunk/checkstyle.xml Tue Apr 30 18:03:28 2013
@@ -68,6 +68,13 @@
         <!-- Constant names should obey the traditional all uppercase naming convention
-->
         <module name="ConstantName" />
 
+        <!-- No trailing whitespace -->
+        <module name="Regexp">
+            <property name="format" value="[ \t]+$"/>
+            <property name="illegalPattern" value="true"/>
+            <property name="message" value="Trailing whitespace"/>
+        </module>
+
         <!-- Authors should be in pom.xml file -->
         <module name="Regexp">
             <property name="format" value="@author"/>



Mime
View raw message