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:33:47 UTC
(commons-io) 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-io.git
The following commit(s) were added to refs/heads/master by this push:
new 5ecbd832 Checkstyle: @author tags are deprecated
5ecbd832 is described below
commit 5ecbd832178716307d4f9e3fe03736461d763452
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 23 08:33:42 2023 -0500
Checkstyle: @author tags are deprecated
---
src/conf/checkstyle.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index e8dab51b..24fc4b73 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -52,4 +52,11 @@ limitations under the License.
<property name="message" value="Trailing whitespace" />
</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>