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:43:04 UTC
(commons-dbcp) 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-dbcp.git
The following commit(s) were added to refs/heads/master by this push:
new bcf8e0df Checkstyle: @author tags are deprecated
bcf8e0df is described below
commit bcf8e0dfb6c5156a7c638c0eed08d94ac4e93c42
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 23 08:43:00 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 42be5f3e..99de2ffe 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -132,7 +132,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>