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 2025/02/09 20:05:10 UTC

(commons-io) 03/14: Add checkstyle rule: No Javadoc author tags

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

commit d1f83ee2b5dc60be87bad39a06947aa711e4ac41
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 9 13:54:01 2025 -0500

    Add checkstyle rule: No Javadoc author tags
---
 src/conf/checkstyle.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 8b11bc0fd..16b81ce9e 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -27,6 +27,12 @@ limitations under the License.
   <module name="LineLength">
     <property name="max" value="160" />
   </module>
+  <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 name="TreeWalker">
     <module name="WhitespaceAfter" />
     <module name="AvoidStarImport" />