Browse Source

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

(cherry picked from commit 5b577f43a269caeee776a59695427985d0cd1697)
(cherry picked from commit f0d4d7a1782ed743feb6625e207fb89a19fd6957)
Akira Ajisaka 8 years ago
parent
commit
689bbade9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml

+ 1 - 1
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"/>