HADOOP-11869. Suppress ParameterNumber checkstyle violations for overridden 
methods. Contributed by Jonathan Eagles


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

Branch: refs/heads/YARN-5734
Commit: 009b9f3ebc6e673688a281d1595f640eb8c3e77b
Parents: b4adc83
Author: Chris Douglas <cdoug...@apache.org>
Authored: Thu May 18 21:27:46 2017 -0700
Committer: Chris Douglas <cdoug...@apache.org>
Committed: Thu May 18 21:27:46 2017 -0700

----------------------------------------------------------------------
 hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/009b9f3e/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 1b968ae..2053561 100644
--- a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
+++ b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
@@ -125,7 +125,9 @@
         <!-- See http://checkstyle.sf.net/config_sizes.html -->
         <module name="LineLength"/>
         <module name="MethodLength"/>
-        <module name="ParameterNumber"/>
+        <module name="ParameterNumber">
+          <property name="ignoreOverriddenMethods" value="true"/>
+        </module>
 
 
         <!-- Checks for whitespace                               -->


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to