commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1292799&view=rev
Log:
Deprecate @author tags

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=1292799&r1=1292798&r2=1292799&view=diff
==============================================================================
--- commons/proper/vfs/trunk/checkstyle.xml (original)
+++ commons/proper/vfs/trunk/checkstyle.xml Thu Feb 23 13:41:47 2012
@@ -61,6 +61,13 @@
       <property name="fileExtensions" value="java"/>
     </module>
 
+    <!-- @author tags are deprecated -->
+    <module name="RegexpSingleline">
+      <property name="format" value="^\s+\*\s+@author\s"/>
+      <property name="message" value="Deprecated @author tag"/>
+      <property name="fileExtensions" value="java"/>
+    </module>
+
     <!-- Exceptions -->
     <!--<module name="SuppressionFilter">
         <property name="file" value="conf/checkstyle-suppressions.xml"/>



Mime
View raw message