Skip to content

Commit

Permalink
[MSHARED-1401] Checkstyle add setterCanReturnItsClass for HiddenField
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Jun 3, 2024
1 parent 0588414 commit 24d155c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/config/maven_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ under the License.
<module name="HiddenField">
<property name="severity" value="warning"/>
<property name="ignoreSetter" value="true"/>
<property name="setterCanReturnItsClass" value="true"/>
<property name="ignoreConstructorParameter" value="true"/>
</module>
<module name="IllegalInstantiation"/>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/config/maven_checks_nocodestyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ under the License.
<module name="HiddenField">
<property name="severity" value="warning"/>
<property name="ignoreSetter" value="true"/>
<property name="setterCanReturnItsClass" value="true"/>
<property name="ignoreConstructorParameter" value="true"/>
</module>
<module name="IllegalInstantiation"/>
Expand Down

0 comments on commit 24d155c

Please sign in to comment.