This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch MSHARED-1401-one-statement in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git
commit b6b16f68829773169e4ad010066e0c290fbc330e Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Sun Jun 2 13:09:45 2024 +0200 [MSHARED-1401] Checkstyle add OneStatementPerLine --- src/main/resources/config/maven_checks.xml | 1 + src/main/resources/config/maven_checks_nocodestyle.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/resources/config/maven_checks.xml b/src/main/resources/config/maven_checks.xml index 240f595..96f3cd8 100644 --- a/src/main/resources/config/maven_checks.xml +++ b/src/main/resources/config/maven_checks.xml @@ -178,6 +178,7 @@ under the License. <property name="ignoreNumbers" value="-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 31, 32, 37, 64, 100, 128, 256, 512, 1000, 1024"/> </module> <module name="MissingSwitchDefault"/> + <module name="OneStatementPerLine"/> <module name="SimplifyBooleanExpression"/> <module name="SimplifyBooleanReturn"/> diff --git a/src/main/resources/config/maven_checks_nocodestyle.xml b/src/main/resources/config/maven_checks_nocodestyle.xml index 70e68e8..af1cb64 100644 --- a/src/main/resources/config/maven_checks_nocodestyle.xml +++ b/src/main/resources/config/maven_checks_nocodestyle.xml @@ -121,6 +121,7 @@ under the License. <property name="ignoreNumbers" value="-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 31, 32, 37, 64, 100, 128, 256, 512, 1000, 1024"/> </module> <module name="MissingSwitchDefault"/> + <module name="OneStatementPerLine"/> <module name="SimplifyBooleanExpression"/> <module name="SimplifyBooleanReturn"/>