Skip to content

Commit

Permalink
Implemented: Allow deprecated public fields
Browse files Browse the repository at this point in the history
(OFBIZ-11256)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868627 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Oct 19, 2019
1 parent 80c46f9 commit f5aac70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/checkstyle/checkstyle.xml
Expand Up @@ -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"/>
</module>
</module>
</module>

0 comments on commit f5aac70

Please sign in to comment.