This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git
The following commit(s) were added to refs/heads/master by this push:
new f49b059 [MSHARED-1401] Checkstyle add OneStatementPerLine
f49b059 is described below
commit f49b059fd921110f817a6a88d028b6c43a41efc1
Author: Slawomir Jaranowski <[email protected]>
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 2e746a4..2665bc0 100644
--- a/src/main/resources/config/maven_checks.xml
+++ b/src/main/resources/config/maven_checks.xml
@@ -175,6 +175,7 @@ under the License.
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<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 47d2cf2..091b8a0 100644
--- a/src/main/resources/config/maven_checks_nocodestyle.xml
+++ b/src/main/resources/config/maven_checks_nocodestyle.xml
@@ -122,6 +122,7 @@ under the License.
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MissingSwitchDefault"/>
+ <module name="OneStatementPerLine"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>