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:46:39 UTC
(commons-email) 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-email.git
The following commit(s) were added to refs/heads/master by this push:
new 6c9794b Checkstyle: @author tags are deprecated
6c9794b is described below
commit 6c9794bade1faea5bfd5cf3b5569c348c16eaf9b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 23 08:46:35 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 8cb7fde..2857a97 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -146,7 +146,12 @@
<module name="ArrayTypeStyle" />
<module name="TodoComment" />
<module name="UpperEll" />
-
</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>