commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1808394 - in /commons/proper/vfs/trunk: checkstyle.xml pom.xml
Date Thu, 14 Sep 2017 20:38:36 GMT
Author: ggregory
Date: Thu Sep 14 20:38:36 2017
New Revision: 1808394

URL: http://svn.apache.org/viewvc?rev=1808394&view=rev
Log:
Use latest Checkstyle version from the Maven plugin and let } stand on the same line of a
multi-block statement.

Modified:
    commons/proper/vfs/trunk/checkstyle.xml
    commons/proper/vfs/trunk/pom.xml

Modified: commons/proper/vfs/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/checkstyle.xml?rev=1808394&r1=1808393&r2=1808394&view=diff
==============================================================================
--- commons/proper/vfs/trunk/checkstyle.xml (original)
+++ commons/proper/vfs/trunk/checkstyle.xml Thu Sep 14 20:38:36 2017
@@ -164,7 +164,7 @@
     </module>
     <module name="NeedBraces" />
     <module name="RightCurly">
-      <property name="option" value="alone" />
+      <property name="option" value="same" />
     </module>
 
     <!-- Checks for common coding problems -->

Modified: commons/proper/vfs/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1808394&r1=1808393&r2=1808394&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Thu Sep 14 20:38:36 2017
@@ -233,6 +233,13 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <version>${version.checkstyle}</version>
+        <dependencies>
+          <dependency>
+            <groupId>com.puppycrawl.tools</groupId>
+            <artifactId>checkstyle</artifactId>
+            <version>6.19</version>
+          </dependency>
+        </dependencies>        
         <!-- Keep build/reporting in sync -->
         <configuration>
           <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation>
-->



Mime
View raw message