Skip to content
Browse files
Implemented: Allow deprecated public fields

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Oct 19, 2019
1 parent 80c46f9 commit f5aac701c6e2bae4784a02443f8684d128101803
Showing with 9 additions and 0 deletions.
  1. +9 −0 config/checkstyle/checkstyle.xml
@@ -125,5 +125,14 @@ under the License.

<!-- Checks for annotations -->
<module name="MissingOverride"/>

<!-- Filters -->
<module name="SuppressionCommentFilter">
<!-- This is useful when having deprecated public fields
which have been superseded by public accessors. -->
<property name="offCommentFormat" value="ALLOW PUBLIC FIELDS"/>
<property name="onCommentFormat" value="FORBID PUBLIC FIELDS"/>
<property name="checkFormat" value="VisibilityModifier"/>

0 comments on commit f5aac70

Please sign in to comment.