You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2020/06/16 19:02:49 UTC
[fineract] branch develop updated: FINERACT-821 Added Rightcurly
checkstyle
This is an automated email from the ASF dual-hosted git repository.
vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new f009888 FINERACT-821 Added Rightcurly checkstyle
f009888 is described below
commit f009888f799e4012cba736b696302f4d68dcaf30
Author: thesmallstar <ma...@gmail.com>
AuthorDate: Tue Jun 16 10:49:49 2020 +0530
FINERACT-821 Added Rightcurly checkstyle
---
fineract-provider/config/checkstyle/checkstyle.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/fineract-provider/config/checkstyle/checkstyle.xml b/fineract-provider/config/checkstyle/checkstyle.xml
index 8f7a988..cfd23b7 100644
--- a/fineract-provider/config/checkstyle/checkstyle.xml
+++ b/fineract-provider/config/checkstyle/checkstyle.xml
@@ -82,6 +82,10 @@
<property name="option" value="NL"/>
<property name="tokens" value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "/>
</module>
+ <module name="RightCurly">
+ <property name="option" value="ALONE_OR_SINGLELINE"/>
+ <property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, STATIC_INIT, INSTANCE_INIT"/>
+ </module>
<module name="com.github.sevntu.checkstyle.checks.coding.ForbidCertainImportsCheck">
<property name="packageNameRegexp" value=".*" />
<property name="forbiddenImportsRegexp" value="com.google.common.base.Charsets" />
@@ -192,10 +196,7 @@
- <module name="RightCurly">
- <property name="option" value="alone"/>
- <property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, STATIC_INIT, INSTANCE_INIT"/>
- </module>
+