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-configuration.git


The following commit(s) were added to refs/heads/master by this push:
     new ccf62992 Checkstyle: @author tags are deprecated
ccf62992 is described below

commit ccf62992926ea1ca69bc25ed84392576057280f9
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 23 08:40:13 2023 -0500

    Checkstyle: @author tags are deprecated
---
 src/conf/checkstyle.xml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 22a3dd1a..35383753 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -153,7 +153,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>

Reply via email to