Skip to content

Commit

Permalink
Checkstyle: @author tags are deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 23, 2023
1 parent dcb476c commit b626fb5
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/conf/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand All @@ -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" />
Expand All @@ -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" />
Expand All @@ -145,7 +140,6 @@

<module name="NeedBraces" />


<!-- Checks for common coding problems -->
<!-- See http://checkstyle.sf.net/config_coding.html -->
<!-- module name="AvoidInlineConditionals"/ -->
Expand All @@ -167,7 +161,6 @@
<module name="InterfaceIsType" />
<module name="VisibilityModifier" />


<!-- Miscellaneous other checks. -->
<!-- See http://checkstyle.sf.net/config_misc.html -->
<module name="ArrayTypeStyle" />
Expand All @@ -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>

0 comments on commit b626fb5

Please sign in to comment.