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


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

commit 64ea85b0ca524211bda714edfe3576db1f05b727
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 23 08:53:54 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 4dbcc4c..8618ab9 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -73,5 +73,11 @@ limitations under the License.
     </module>
     <module name="WhitespaceAfter" />
   </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