hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject hadoop git commit: HADOOP-11869. Suppress ParameterNumber checkstyle violations for overridden methods. Contributed by Jonathan Eagles
Date Fri, 19 May 2017 04:28:09 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk b4adc8392 -> 009b9f3eb


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/trunk
Commit: 009b9f3ebc6e673688a281d1595f640eb8c3e77b
Parents: b4adc83
Author: Chris Douglas <cdouglas@apache.org>
Authored: Thu May 18 21:27:46 2017 -0700
Committer: Chris Douglas <cdouglas@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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message