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 2025/01/21 16:03:03 UTC
(commons-imaging) branch master updated (0cc6c019 -> d60e1fa7)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
from 0cc6c019 Optionally force UTF-8 encoding for IPTC records #477
new efda70b5 Sort checkstyle entries
new af2ab53f Add Checkstyle ArrayTypeStyle
new e10b2b95 Add Checkstyle CovariantEquals
new 16155c55 Add Checkstyle DefaultComesLast
new 6b4bfc4a Add Checkstyle EmptyBlock
new 8b5a8400 Add Checkstyle EqualsHashCode
new d60e1fa7 Add Checkstyle ExplicitInitialization
The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/conf/checkstyle.xml | 51 ++++++++++++++++++++++++++++---------------------
1 file changed, 29 insertions(+), 22 deletions(-)
(commons-imaging) 07/07: Add Checkstyle ExplicitInitialization
Posted by gg...@apache.org.
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-imaging.git
commit d60e1fa709921273225c8a0622038f14e76e56df
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jan 21 11:02:43 2025 -0500
Add Checkstyle ExplicitInitialization
---
src/conf/checkstyle.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 8f5d55a6..6b382771 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -56,6 +56,7 @@ limitations under the License.
<property name="option" value="text" />
</module>
<module name="EqualsHashCode" />
+ <module name="ExplicitInitialization" />
<module name="IllegalImport" />
<module name="ImportOrder">
<property name="option" value="top" />
(commons-imaging) 05/07: Add Checkstyle EmptyBlock
Posted by gg...@apache.org.
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-imaging.git
commit 6b4bfc4ad2b5b25ba28a4226cb5473e40caaf4ec
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jan 21 11:01:44 2025 -0500
Add Checkstyle EmptyBlock
---
src/conf/checkstyle.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index e25819a1..8fa9510b 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -52,6 +52,9 @@ limitations under the License.
<module name="AvoidStarImport" />
<module name="CovariantEquals" />
<module name="DefaultComesLast" />
+ <module name="EmptyBlock">
+ <property name="option" value="text" />
+ </module>
<module name="IllegalImport" />
<module name="ImportOrder">
<property name="option" value="top" />
(commons-imaging) 04/07: Add Checkstyle DefaultComesLast
Posted by gg...@apache.org.
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-imaging.git
commit 16155c5553a2ab10453c53cdaef25eeb411e7548
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jan 21 11:01:17 2025 -0500
Add Checkstyle DefaultComesLast
---
src/conf/checkstyle.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 69450a68..e25819a1 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -51,6 +51,7 @@ limitations under the License.
<module name="ArrayTypeStyle" />
<module name="AvoidStarImport" />
<module name="CovariantEquals" />
+ <module name="DefaultComesLast" />
<module name="IllegalImport" />
<module name="ImportOrder">
<property name="option" value="top" />
(commons-imaging) 06/07: Add Checkstyle EqualsHashCode
Posted by gg...@apache.org.
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-imaging.git
commit 8b5a8400ad0f52ef72be6e97042584c8495599df
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jan 21 11:02:12 2025 -0500
Add Checkstyle EqualsHashCode
---
src/conf/checkstyle.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 8fa9510b..8f5d55a6 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -55,6 +55,7 @@ limitations under the License.
<module name="EmptyBlock">
<property name="option" value="text" />
</module>
+ <module name="EqualsHashCode" />
<module name="IllegalImport" />
<module name="ImportOrder">
<property name="option" value="top" />
(commons-imaging) 02/07: Add Checkstyle ArrayTypeStyle
Posted by gg...@apache.org.
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-imaging.git
commit af2ab53fd14bc325e3dea548a8aff7e21f0ba644
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jan 21 11:00:07 2025 -0500
Add Checkstyle ArrayTypeStyle
---
src/conf/checkstyle.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 31730a62..3f646ed0 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -48,6 +48,7 @@ limitations under the License.
<property name="file" value="checkstyle-suppressions.xml" />
</module>
<module name="TreeWalker">
+ <module name="ArrayTypeStyle" />
<module name="AvoidStarImport" />
<module name="IllegalImport" />
<module name="ImportOrder">
(commons-imaging) 01/07: Sort checkstyle entries
Posted by gg...@apache.org.
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-imaging.git
commit efda70b53ff923add32c53775a1d7c91c2b47560
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jan 21 10:57:00 2025 -0500
Sort checkstyle entries
Remove redundant NeedBraces entry
---
src/conf/checkstyle.xml | 43 +++++++++++++++++++++----------------------
1 file changed, 21 insertions(+), 22 deletions(-)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 66c53b64..31730a62 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -22,12 +22,22 @@ limitations under the License.
<!-- commons lang customization of default Checkstyle behavior -->
<module name="Checker">
<property name="localeLanguage" value="en" />
+ <module name="FileTabCharacter">
+ <property name="fileExtensions" value="java,xml" />
+ </module>
<module name="JavadocPackage" />
+ <module name="LineLength">
+ <property name="max" value="160" />
+ </module>
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf" />
</module>
- <module name="FileTabCharacter">
- <property name="fileExtensions" value="java,xml" />
+ <!-- @author tags are deprecated -->
+ <module name="RegexpSingleline">
+ <property name="format" value="^\s+\*\s+@author\s" />
+ <property name="message" value="Deprecated @author tag" />
+ <property name="fileExtensions" value="java" />
+ <property name="severity" value="warning" />
</module>
<module name="RegexpSingleline">
<!-- \s matches whitespace character, $ matches end of line. -->
@@ -40,34 +50,23 @@ limitations under the License.
<module name="TreeWalker">
<module name="AvoidStarImport" />
<module name="IllegalImport" />
- <module name="RedundantImport" />
- <module name="UnusedImports" />
- <module name="NeedBraces" />
- <!-- <module name="JavadocMethod"> <property name="allowUndeclaredRTE" value="true"/> <property name="scope" value="public" /> </module> -->
- <module name="ModifierOrder" />
- <module name="RedundantModifier" />
- <module name="UpperEll" />
- <module name="LeftCurly" />
- <module name="NeedBraces" />
- <module name="RightCurly" />
<module name="ImportOrder">
<property name="option" value="top" />
<property name="groups" value="java,javax,org" />
<property name="ordered" value="true" />
<property name="separated" value="true" />
</module>
+ <module name="LeftCurly" />
+ <module name="NeedBraces" />
+ <!-- <module name="JavadocMethod"> <property name="allowUndeclaredRTE" value="true"/> <property name="scope" value="public" /> </module> -->
+ <module name="ModifierOrder" />
+ <module name="RedundantImport" />
+ <module name="RedundantModifier" />
+ <module name="RightCurly" />
+ <module name="UpperEll" />
+ <module name="UnusedImports" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<module name="WhitespaceAroundCheck" />
</module>
- <module name="LineLength">
- <property name="max" value="160" />
- </module>
- <!-- @author tags are deprecated -->
- <module name="RegexpSingleline">
- <property name="format" value="^\s+\*\s+@author\s" />
- <property name="message" value="Deprecated @author tag" />
- <property name="fileExtensions" value="java" />
- <property name="severity" value="warning" />
- </module>
</module>
(commons-imaging) 03/07: Add Checkstyle CovariantEquals
Posted by gg...@apache.org.
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-imaging.git
commit e10b2b95e597ccce2e51523f64ed61a9267bb516
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jan 21 11:00:47 2025 -0500
Add Checkstyle CovariantEquals
---
src/conf/checkstyle.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 3f646ed0..69450a68 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -50,6 +50,7 @@ limitations under the License.
<module name="TreeWalker">
<module name="ArrayTypeStyle" />
<module name="AvoidStarImport" />
+ <module name="CovariantEquals" />
<module name="IllegalImport" />
<module name="ImportOrder">
<property name="option" value="top" />