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


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

commit 0e15af9f68f5b54b08102881dba8da277b072aa5
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 23 09:05:57 2023 -0500

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

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index b98c717e..6cc80c46 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -182,5 +182,11 @@
     </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