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 14:03:43 UTC
(commons-rdf) 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-rdf.git
The following commit(s) were added to refs/heads/master by this push:
new 347b8de1 Checkstyle: @author tags are deprecated
347b8de1 is described below
commit 347b8de1b6299f44dda068f91e0b7bced7d50741
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 23 09:03:39 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 f81c7716..d03ca51e 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -198,6 +198,12 @@ limitations under the License.
<property name="commentFormat" value="CHECKSTYLE IGNORE (\w+)"/>
<property name="checkFormat" value="$1"/>
</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>