[java-parent-project] branch master updated: JPAR-101 - Eclipse and Checkstyle 8.1+ compatibility issues

Ian Young ian at iay.org.uk
Thu Jan 25 11:54:16 EST 2018


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository java-parent-project.

View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=a397dd68633956db8081c27be9e580b6e27dbc77

The following commit(s) were added to refs/heads/master by this push:
       new  a397dd6   JPAR-101 - Eclipse and Checkstyle 8.1+ compatibility issues
a397dd6 is described below

commit a397dd68633956db8081c27be9e580b6e27dbc77
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Jan 25 16:53:43 2018 +0000

    JPAR-101 - Eclipse and Checkstyle 8.1+ compatibility issues
---
 pom.xml                             |  2 +-
 resources/checkstyle/checkstyle.xml | 13 ++++++-------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index b6d0148..d9edca8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,7 @@
         <spring-webflow.version>2.4.7.RELEASE</spring-webflow.version>
         <xmlsec.version>2.0.8</xmlsec.version>
 
-        <checkstyle.version>6.19</checkstyle.version>
+        <checkstyle.version>8.7</checkstyle.version>
         <checkstyle-plugin.version>2.17</checkstyle-plugin.version>
         <checkstyle.configLocation>checkstyle.xml</checkstyle.configLocation>
 
diff --git a/resources/checkstyle/checkstyle.xml b/resources/checkstyle/checkstyle.xml
index 5cab513..48ae807 100644
--- a/resources/checkstyle/checkstyle.xml
+++ b/resources/checkstyle/checkstyle.xml
@@ -11,7 +11,6 @@
 <module name="Checker">
   <property name="severity" value="warning"/>
   <module name="TreeWalker">
-    <module name="FileContentsHolder"/>
     <property name="tabWidth" value="4"/>
     <module name="JavadocMethod">
       <property name="allowThrowsTagsForSubclasses" value="true"/>
@@ -100,11 +99,11 @@
       <property name="tokens" value="PARAMETER_DEF,VARIABLE_DEF"/>
       <property name="validateEnhancedForLoopVariable" value="true"/>
     </module>
-  </module>
-  <module name="SuppressionCommentFilter">
-    <property name="offCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+OFF\b"/>
-    <property name="onCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+ON\b"/>
-    <property name="checkFormat" value="$1"/>
+    <module name="SuppressionCommentFilter">
+      <property name="offCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+OFF\b"/>
+      <property name="onCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+ON\b"/>
+      <property name="checkFormat" value="$1"/>
+    </module>
   </module>
   <module name="FileTabCharacter"/>
   <module name="FileLength">
@@ -114,4 +113,4 @@
     <property name="header" value="/*\n * Licensed to the University Corporation for Advanced Internet Development,\n * Inc. (UCAID) under one or more contributor license agreements.  See the\n * NOTICE file distributed with this work for additional information regarding\n * copyright ownership. The UCAID licenses this file to You under the Apache\n * License, Version 2.0 (the "License"); you may not use this file except in\n * compliance with the License.  You may obtain a cop [...]
   </module>
   <module name="JavadocPackage"/>
-</module>
\ No newline at end of file
+</module>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list