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:49:18 UTC
(commons-fileupload) 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-fileupload.git
The following commit(s) were added to refs/heads/master by this push:
new cdd93584 Checkstyle: @author tags are deprecated
cdd93584 is described below
commit cdd93584036ceb01c04c3065fc39c5aa32f57eca
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 23 08:49:13 2023 -0500
Checkstyle: @author tags are deprecated
---
src/checkstyle/fileupload_checks.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/checkstyle/fileupload_checks.xml b/src/checkstyle/fileupload_checks.xml
index 28bfb745..cd31f3db 100644
--- a/src/checkstyle/fileupload_checks.xml
+++ b/src/checkstyle/fileupload_checks.xml
@@ -228,5 +228,11 @@
</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>