You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/06/02 11:10:01 UTC

(maven-shared-resources) branch MSHARED-1401-one-statement created (now b6b16f6)

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a change to branch MSHARED-1401-one-statement
in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git


      at b6b16f6  [MSHARED-1401] Checkstyle add OneStatementPerLine

This branch includes the following new commits:

     new b6b16f6  [MSHARED-1401] Checkstyle add OneStatementPerLine

The 1 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.



(maven-shared-resources) 01/01: [MSHARED-1401] Checkstyle add OneStatementPerLine

Posted by sj...@apache.org.
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....@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"/>