This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch POOL_2_X
in repository https://gitbox.apache.org/repos/asf/commons-pool.git


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

commit 2d253967b20bf3b0b30640d92b6d6692e090866a
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 23 09:02:35 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 a0033239..c089407d 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -83,5 +83,11 @@
   <module name="LineLength">
     <property name="max" value="160"/>
   </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