fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vorbur...@apache.org
Subject [fineract] branch develop updated: FINERACT-821 Added IllegalTokenText Checkstyle
Date Fri, 29 May 2020 06:37:53 GMT
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 7b09c1a  FINERACT-821 Added IllegalTokenText Checkstyle
7b09c1a is described below

commit 7b09c1a4b0cc698c731a0e5bae605664256956f6
Author: thesmallstar <manthan.surkar@gmail.com>
AuthorDate: Mon May 25 05:51:55 2020 +0530

    FINERACT-821 Added IllegalTokenText Checkstyle
---
 fineract-provider/config/checkstyle/checkstyle.xml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/fineract-provider/config/checkstyle/checkstyle.xml b/fineract-provider/config/checkstyle/checkstyle.xml
index a76cd7c..31ea17a 100644
--- a/fineract-provider/config/checkstyle/checkstyle.xml
+++ b/fineract-provider/config/checkstyle/checkstyle.xml
@@ -90,6 +90,11 @@
           <module name="NeedBraces"/>
           <module name="ArrayTypeStyle"/>     
           <module name="NoLineWrap"/>
+         <module name="IllegalTokenText">
+            <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
+            <property name="format" value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
+            <property name="message" value="Avoid using corresponding octal or Unicode
escape."/>
+        </module>
 <!-- TODO Enable many more checks (go about this one by one, step by step, raise separate
PRs fixing and then enforcing):
 
         <module name="HiddenField">
@@ -117,12 +122,6 @@
       
         <module name="SuppressWarningsHolder" />
         <module name="OuterTypeFilename"/>
-        <module name="IllegalTokenText">
-            <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
-            <property name="format" value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
-            <property name="message" value="Avoid using corresponding octal or Unicode
escape."/>
-        </module>
-       
         <module name="OneTopLevelClass"/>
        
         <module name="EmptyBlock">


Mime
View raw message