HADOOP-13603. Ignore package line length checkstyle rule. Contributed by Shane Kumpf.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5b577f43 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5b577f43 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5b577f43 Branch: refs/heads/HADOOP-13345 Commit: 5b577f43a269caeee776a59695427985d0cd1697 Parents: 235f39b Author: Akira Ajisaka <aajis...@apache.org> Authored: Tue Nov 1 20:58:13 2016 +0900 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Tue Nov 1 20:58:13 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/5b577f43/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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org