hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject [2/2] hadoop git commit: HADOOP-13603. Ignore package line length checkstyle rule. Contributed by Shane Kumpf.
Date Tue, 01 Nov 2016 12:00:13 GMT
HADOOP-13603. Ignore package line length checkstyle rule. Contributed by Shane Kumpf.

(cherry picked from commit 5b577f43a269caeee776a59695427985d0cd1697)
(cherry picked from commit f0d4d7a1782ed743feb6625e207fb89a19fd6957)


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

Branch: refs/heads/branch-2.8
Commit: 689bbade9a4373c670a2735cce304496e6a3e12e
Parents: 61128c5
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 21:00:04 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/689bbade/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 32ab51e..11f4d5c 100644
--- a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
+++ b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
@@ -115,7 +115,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