You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/12/23 18:40:50 UTC
[commons-vfs] branch master updated: Fix Checkstyle configuration.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new 1551565 Fix Checkstyle configuration.
1551565 is described below
commit 1551565eee38cf8c6bee3124a7e9657f2455e94a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Dec 23 13:40:47 2019 -0500
Fix Checkstyle configuration.
Update Checkstyle to the current version.
---
checkstyle.xml | 12 ++++++++----
pom.xml | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/checkstyle.xml b/checkstyle.xml
index 3213193..411f677 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -69,6 +69,12 @@
<property name="severity" value="warning" />
</module>
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+ <module name="LineLength">
+ <property name="max" value="120" />
+ </module>
+
<!-- Exceptions -->
<!--<module name="SuppressionFilter">
<property name="file" value="conf/checkstyle-suppressions.xml"/>
@@ -81,8 +87,9 @@
<module name="JavadocMethod">
<property name="scope" value="public" />
<property name="allowUndeclaredRTE" value="true" />
- <property name="allowMissingJavadoc" value="true" />
</module>
+ <module name="MissingJavadocMethod"/>
+
<!-- http://checkstyle.sourceforge.net/config_javadoc.html#JavadocType -->
<module name="JavadocType">
<!-- It is unfortunate to have to do this but checkstyle doesn't allow custom tags -->
@@ -122,9 +129,6 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<!--<module name="FileLength"/> -->
- <module name="LineLength">
- <property name="max" value="120" />
- </module>
<module name="MethodLength" />
<module name="ParameterNumber">
<property name="max" value="10" />
diff --git a/pom.xml b/pom.xml
index 8524d1b..d9ef9c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -262,7 +262,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
- <version>8.25</version>
+ <version>8.27</version>
</dependency>
</dependencies>
<!-- Keep build/reporting in sync -->