You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/23 13:52:32 UTC

(commons-jcs) branch master updated: Checkstyle: @author tags are deprecated

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git


The following commit(s) were added to refs/heads/master by this push:
     new be908dc4 Checkstyle: @author tags are deprecated
     new 03e5f3e4 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-jcs
be908dc4 is described below

commit be908dc4fad2e114ee704e95c6957a3375f56daf
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 23 08:51:57 2023 -0500

    Checkstyle: @author tags are deprecated
    
    Longer lines
---
 checkstyle.xml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/checkstyle.xml b/checkstyle.xml
index 16c430ad..26f6da3f 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -60,7 +60,7 @@
       <property name="option" value="alone" />
     </module>
     <module name="LineLength">
-      <property name="max" value="132" />
+      <property name="max" value="160" />
     </module>
     <module name="MethodLength">
       <property name="max" value="175" />
@@ -171,7 +171,12 @@
       <property name="ordered" value="true"/>
       <property name="separated" value="true"/>
     </module>
-
   </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" />
+    <property name="severity" value="warning" />
+  </module>
 </module>