You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/02/23 14:53:18 UTC

svn commit: r1292804 - /commons/proper/vfs/trunk/checkstyle.xml

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