Repository: hadoop
Updated Branches:
  refs/heads/branch-2 6bffe1a90 -> 3fecfe135


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

(cherry picked from commit 480302b4ba932ff16b88081dac651f0a5c46c09b)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/3fecfe13
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/3fecfe13
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/3fecfe13

Branch: refs/heads/branch-2
Commit: 3fecfe1352e7d8eb5676696ec815ac3be7362c13
Parents: 6bffe1a
Author: Andrew Wang <[email protected]>
Authored: Wed Mar 2 09:40:30 2016 -0800
Committer: Andrew Wang <[email protected]>
Committed: Wed Mar 2 09:40:33 2016 -0800

----------------------------------------------------------------------
 hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml | 1 +
 hadoop-common-project/hadoop-common/CHANGES.txt                 | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/3fecfe13/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
----------------------------------------------------------------------
diff --git a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml 
b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
index 74faa48..3aaf176 100644
--- a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
+++ b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
@@ -158,6 +158,7 @@
         <module name="EqualsHashCode"/>
         <module name="HiddenField">
           <property name="ignoreConstructorParameter" value="true"/>
+          <property name="ignoreSetter" value="true"/>
         </module>
         <module name="IllegalInstantiation"/>
         <module name="InnerAssignment"/>

http://git-wip-us.apache.org/repos/asf/hadoop/blob/3fecfe13/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt 
b/hadoop-common-project/hadoop-common/CHANGES.txt
index 97cd13d..849c39f 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -48,6 +48,8 @@ Release 2.9.0 - UNRELEASED
     HADOOP-10321. TestCompositeService should cover all enumerations of 
     adding a service to a parent service. (Ray Chiang via kasha)
 
+    HADOOP-12859. Disable hiding field style checks in class setters. (Kai 
Zheng via wang)
+
   BUG FIXES
 
     HADOOP-12605. Fix intermittent failure of TestIPC.testIpcWithReaderQueuing

Reply via email to