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-dbutils.git
commit b626fb5dc002005b25cc4a73654a9bf9ca68de26 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Nov 23 08:44:25 2023 -0500 Checkstyle: @author tags are deprecated --- src/conf/checkstyle/checkstyle.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/conf/checkstyle/checkstyle.xml b/src/conf/checkstyle/checkstyle.xml index ab3bcc2..581021f 100644 --- a/src/conf/checkstyle/checkstyle.xml +++ b/src/conf/checkstyle/checkstyle.xml @@ -94,7 +94,6 @@ <property name="scope" value="protected" /> </module> - <!-- Checks for Naming Conventions. --> <!-- See http://checkstyle.sf.net/config_naming.html --> <module name="LocalFinalVariableName" /> @@ -113,12 +112,10 @@ <module name="RedundantImport" /> <module name="UnusedImports" /> - <!-- Checks for Size Violations. --> <!-- See http://checkstyle.sf.net/config_sizes.html --> <module name="ParameterNumber" /> - <!-- Checks for whitespace --> <!-- See http://checkstyle.sf.net/config_whitespace.html --> <module name="EmptyForIteratorPad" /> @@ -129,13 +126,11 @@ </module> <module name="WhitespaceAround" /> - <!-- Modifier Checks --> <!-- See http://checkstyle.sf.net/config_modifiers.html --> <module name="ModifierOrder" /> <!-- module name="RedundantModifier"/ --> - <!-- Checks for blocks. You know, those {}'s --> <!-- See http://checkstyle.sf.net/config_blocks.html --> <module name="AvoidNestedBlocks" /> @@ -145,7 +140,6 @@ <module name="NeedBraces" /> - <!-- Checks for common coding problems --> <!-- See http://checkstyle.sf.net/config_coding.html --> <!-- module name="AvoidInlineConditionals"/ --> @@ -167,7 +161,6 @@ <module name="InterfaceIsType" /> <module name="VisibilityModifier" /> - <!-- Miscellaneous other checks. --> <!-- See http://checkstyle.sf.net/config_misc.html --> <module name="ArrayTypeStyle" /> @@ -182,5 +175,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>