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-release-plugin.git


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

commit 84d75ef7641dc14ed081ba30ef342f7b2ba7b633
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 23 09:04:28 2023 -0500

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

diff --git a/checkstyle.xml b/checkstyle.xml
index 1010ce2..6cf6c6a 100755
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -191,5 +191,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