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:37:30 UTC
(commons-collections) 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-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 1df5606b8 Checkstyle: @author tags are deprecated
1df5606b8 is described below
commit 1df5606b821047e9cda52b728027d7ddb8e6fb4c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 23 08:37:25 2023 -0500
Checkstyle: @author tags are deprecated
---
src/conf/checkstyle.xml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index eb410f1f7..d4b8cff4b 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -70,5 +70,12 @@ limitations under the License.
<property name="ordered" value="true"/>
<property name="separated" value="true"/>
</module>
- </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>