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


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

commit 06b357d13ef74e6845f9e6c562d40d9b7b3acb5b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 23 08:36:26 2023 -0500

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

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 1968db0..00f5e14 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -139,4 +139,12 @@
 
   </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