hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-13603. Ignore package line length checkstyle rule. Contributed by Shane Kumpf.
Date Tue, 01 Nov 2016 11:59:51 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 a3897f77a -> f0d4d7a17


HADOOP-13603. Ignore package line length checkstyle rule. Contributed by Shane Kumpf.

(cherry picked from commit 5b577f43a269caeee776a59695427985d0cd1697)


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

Branch: refs/heads/branch-2
Commit: f0d4d7a1782ed743feb6625e207fb89a19fd6957
Parents: a3897f7
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Tue Nov 1 20:58:13 2016 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Tue Nov 1 20:59:37 2016 +0900

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f0d4d7a1/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 033529f..851b57d 100644
--- a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
+++ b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
@@ -124,7 +124,7 @@
         <!-- Checks for Size Violations.                    -->
         <!-- See http://checkstyle.sf.net/config_sizes.html -->
         <module name="LineLength">
-          <property name="ignorePattern" value="^import"/>
+          <property name="ignorePattern" value="^(package|import) .*"/>
         </module>
         <module name="MethodLength"/>
         <module name="ParameterNumber"/>


---------------------------------------------------------------------
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