fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [fluo] branch build-resources updated: Modified checkstyle rules to work with 8.1
Date Mon, 07 Aug 2017 21:06:33 GMT
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch build-resources
in repository https://gitbox.apache.org/repos/asf/fluo.git


The following commit(s) were added to refs/heads/build-resources by this push:
     new c95b870  Modified checkstyle rules to work with 8.1
c95b870 is described below

commit c95b8702798a63e1d47ad626e97b2d0b499bdcd7
Author: Christopher Tubbs <ctubbsii@apache.org>
AuthorDate: Mon Aug 7 16:57:24 2017 -0400

    Modified checkstyle rules to work with 8.1
    
    Checkstyle 8.1 requires some rules to only be used within the TreeWalker
    module. This moves them to become children of TreeWalker in the rules,
    so that these rules can be used with Checkstyle 8.1.
---
 pom.xml                                                          | 2 +-
 src/main/resources/org/apache/fluo/resources/java-checkstyle.xml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 41eff91..1f0abee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
   </parent>
   <groupId>org.apache.fluo</groupId>
   <artifactId>build-resources</artifactId>
-  <version>1.0.1-SNAPSHOT</version>
+  <version>2.0.0-SNAPSHOT</version>
   <name>Apache Fluo Build Resources</name>
   <description>Resources for building Apache Fluo projects</description>
   <url>https://fluo.apache.org</url>
diff --git a/src/main/resources/org/apache/fluo/resources/java-checkstyle.xml b/src/main/resources/org/apache/fluo/resources/java-checkstyle.xml
index 10d929f..f291740 100644
--- a/src/main/resources/org/apache/fluo/resources/java-checkstyle.xml
+++ b/src/main/resources/org/apache/fluo/resources/java-checkstyle.xml
@@ -20,8 +20,6 @@
   <property name="charset" value="UTF-8"/>
 
   <property name="severity" value="warning"/>
-  <module name="SuppressWithNearbyCommentFilter"/>
-  <module name="SuppressionCommentFilter"/>
 
   <!-- Checks for whitespace                               -->
   <!-- See http://checkstyle.sf.net/config_whitespace.html -->
@@ -30,6 +28,8 @@
   </module>
 
   <module name="TreeWalker">
+    <module name="SuppressWithNearbyCommentFilter"/>
+    <module name="SuppressionCommentFilter"/>
     <module name="FileContentsHolder"/>
     <module name="OuterTypeFilename"/>
     <module name="IllegalTokenText">

-- 
To stop receiving notification emails like this one, please contact
['"commits@fluo.apache.org" <commits@fluo.apache.org>'].

Mime
View raw message