commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1292804 - /commons/proper/vfs/trunk/checkstyle.xml
Date Thu, 23 Feb 2012 13:53:18 GMT
Author: sebb
Date: Thu Feb 23 13:53:18 2012
New Revision: 1292804

URL: http://svn.apache.org/viewvc?rev=1292804&view=rev
Log:
Downgrade @author check to warning level
Also warn about SVN $Date$

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

Modified: commons/proper/vfs/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/checkstyle.xml?rev=1292804&r1=1292803&r2=1292804&view=diff
==============================================================================
--- commons/proper/vfs/trunk/checkstyle.xml (original)
+++ commons/proper/vfs/trunk/checkstyle.xml Thu Feb 23 13:53:18 2012
@@ -66,6 +66,15 @@
       <property name="format" value="^\s+\*\s+@author\s"/>
       <property name="message" value="Deprecated @author tag"/>
       <property name="fileExtensions" value="java"/>
+      <property name="severity" value="warning"/>
+    </module>
+
+    <!-- Don't use SVN $Date$ variable - it's localised and causes source archives to
differ from the SVN tag -->
+    <module name="RegexpSingleline">
+      <property name="format" value="\$Date.+\$"/>
+      <property name="message" value="Don't use SVN $Date$ variable"/>
+      <property name="fileExtensions" value="java"/>
+      <property name="severity" value="warning"/>
     </module>
 
     <!-- Exceptions -->



Mime
View raw message