You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2022/02/10 15:36:08 UTC
[myfaces-build-tools] branch master updated: build: compatibility to newer versions of checkstyle
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-build-tools.git
The following commit(s) were added to refs/heads/master by this push:
new ef8af4a build: compatibility to newer versions of checkstyle
ef8af4a is described below
commit ef8af4a62b34ed447416ec30a1d453803cf6f420
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Thu Feb 10 16:35:43 2022 +0100
build: compatibility to newer versions of checkstyle
---
.../main/resources/tobago/checkstyle-for-tobago-2.x.xml | 16 ++++++++--------
.../src/main/resources/tobago/checkstyle.xml | 16 ++++++++--------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/other/checkstyle-rules/src/main/resources/tobago/checkstyle-for-tobago-2.x.xml b/other/checkstyle-rules/src/main/resources/tobago/checkstyle-for-tobago-2.x.xml
index 46ab192..2bcfb15 100644
--- a/other/checkstyle-rules/src/main/resources/tobago/checkstyle-for-tobago-2.x.xml
+++ b/other/checkstyle-rules/src/main/resources/tobago/checkstyle-for-tobago-2.x.xml
@@ -17,8 +17,8 @@
-->
<!DOCTYPE module PUBLIC
- "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
- "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+ "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
+ "https://checkstyle.org/dtds/configuration_1_3.dtd">
<!--
@@ -96,7 +96,6 @@
<module name="TreeWalker">
- <property name="cacheFile" value="${checkstyle.cache.file}"/>
<property name="tabWidth" value="2"/>
<!-- Checks for Javadoc comments. -->
@@ -126,11 +125,6 @@
<module name="UnusedImports"/>
<!--module name="AvoidStaticImport"/-->
- <!-- Checks for Size Violations. -->
- <!-- See http://checkstyle.sf.net/config_sizes.html -->
- <module name="LineLength">
- <property name="max" value="120"/>
- </module>
<module name="ParameterNumber">
<property name="max" value="15"/>
</module>
@@ -225,6 +219,12 @@
</module>
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ </module>
+
<module name="RegexpSingleline">
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>
diff --git a/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml b/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml
index 1c27f69..e6a2565 100644
--- a/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml
+++ b/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml
@@ -17,8 +17,8 @@
-->
<!DOCTYPE module PUBLIC
- "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
- "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+ "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
+ "https://checkstyle.org/dtds/configuration_1_3.dtd">
<!--
@@ -96,7 +96,6 @@
<module name="TreeWalker">
- <property name="cacheFile" value="${checkstyle.cache.file}"/>
<property name="tabWidth" value="2"/>
<!-- Checks for Javadoc comments. -->
@@ -126,11 +125,6 @@
<module name="UnusedImports"/>
<!--module name="AvoidStaticImport"/-->
- <!-- Checks for Size Violations. -->
- <!-- See http://checkstyle.sf.net/config_sizes.html -->
- <module name="LineLength">
- <property name="max" value="120"/>
- </module>
<module name="MethodLength">
<property name="max" value="250"/>
</module>
@@ -228,6 +222,12 @@
</module>
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ </module>
+
<module name="RegexpSingleline">
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>