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


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

commit 5b07e8722592755636e9da308603e5b5897fafcc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Nov 23 08:56:16 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 c73e4697..c3e02933 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -102,7 +102,13 @@ limitations under the License.
     <!-- config_loc is used by Eclipse plugin -->
     <property name="file" value="${config_loc}/checkstyle-suppressions.xml"/>
   </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