You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ar...@apache.org on 2016/03/04 02:02:17 UTC

[38/50] [abbrv] hadoop git commit: HADOOP-12859. Disable hiding field style checks in class setters. Contributed by Kai Zheng.

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


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

Branch: refs/heads/HDFS-1312
Commit: 480302b4ba932ff16b88081dac651f0a5c46c09b
Parents: 5abf051
Author: Andrew Wang <wa...@apache.org>
Authored: Wed Mar 2 09:40:30 2016 -0800
Committer: Andrew Wang <wa...@apache.org>
Committed: Wed Mar 2 09:40:30 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/480302b4/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/480302b4/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 401df94..f8e033d 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -698,6 +698,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