HADOOP-12859. Disable hiding field style checks in class setters. Contributed by Kai Zheng.

(cherry picked from commit 480302b4ba)
(cherry picked from commit 3fecfe1352)
This commit is contained in:
Andrew Wang 2016-03-02 09:40:30 -08:00
parent da7e2f08f1
commit b0a77db3a2
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@
<module name="EqualsHashCode"/> <module name="EqualsHashCode"/>
<module name="HiddenField"> <module name="HiddenField">
<property name="ignoreConstructorParameter" value="true"/> <property name="ignoreConstructorParameter" value="true"/>
<property name="ignoreSetter" value="true"/>
</module> </module>
<module name="IllegalInstantiation"/> <module name="IllegalInstantiation"/>
<module name="InnerAssignment"/> <module name="InnerAssignment"/>