You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2019/04/15 01:58:47 UTC

[hadoop] branch branch-3.1 updated: HADOOP-16227. Upgrade checkstyle to 8.19

This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new b45813b  HADOOP-16227. Upgrade checkstyle to 8.19
b45813b is described below

commit b45813b25915bec19ff3e31add56c6fef7cf6e15
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Tue Apr 2 12:44:37 2019 +0900

    HADOOP-16227. Upgrade checkstyle to 8.19
    
    (cherry picked from commit 4b4fef2f0e0ed1e185ea1058db7a65d68d4970b9)
---
 hadoop-tools/hadoop-azure/src/config/checkstyle.xml | 5 +++--
 pom.xml                                             | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/hadoop-tools/hadoop-azure/src/config/checkstyle.xml b/hadoop-tools/hadoop-azure/src/config/checkstyle.xml
index 1db4a2f..969f4a5 100644
--- a/hadoop-tools/hadoop-azure/src/config/checkstyle.xml
+++ b/hadoop-tools/hadoop-azure/src/config/checkstyle.xml
@@ -41,6 +41,9 @@
 -->
 
 <module name="Checker">
+
+    <property name="cacheFile" value="${checkstyle.cache.file}"/>
+
     <!-- Checks that each Java package has a Javadoc file used for commenting. -->
     <!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage       -->
     <module name="JavadocPackage">
@@ -61,8 +64,6 @@
 
     <module name="TreeWalker">
 
-        <property name="cacheFile" value="${checkstyle.cache.file}"/>
-
         <!-- Checks for Javadoc comments.                     -->
         <!-- See http://checkstyle.sf.net/config_javadoc.html -->
 
diff --git a/pom.xml b/pom.xml
index 61c2726..b011f31 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
     <maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version>
     <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
     <maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
-    <checkstyle.version>8.8</checkstyle.version>
+    <checkstyle.version>8.19</checkstyle.version>
     <dependency-check-maven.version>1.4.3</dependency-check-maven.version>
 
     <shell-executable>bash</shell-executable>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org