fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [fineract] branch develop updated: FINERACT-821 Added ClassTypeParameterName Checkstyle
Date Sun, 05 Jul 2020 05:00:43 GMT
This is an automated email from the ASF dual-hosted git repository.

kaze 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 06ab553  FINERACT-821 Added ClassTypeParameterName Checkstyle
06ab553 is described below

commit 06ab553d92c63dabeba4a5390e11b1c857719fe8
Author: Manthan Surkar <manthan.surkar@gmail.com>
AuthorDate: Sat Jul 4 21:30:31 2020 +0530

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

diff --git a/fineract-provider/config/checkstyle/checkstyle.xml b/fineract-provider/config/checkstyle/checkstyle.xml
index b94e3f8..3f29e71 100644
--- a/fineract-provider/config/checkstyle/checkstyle.xml
+++ b/fineract-provider/config/checkstyle/checkstyle.xml
@@ -162,6 +162,11 @@
             <message key="name.invalidPattern"
              value="Method name ''{0}'' must match pattern ''{1}''."/>
         </module>
+                <module name="ClassTypeParameterName">
+            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
+            <message key="name.invalidPattern"
+             value="Class type name ''{0}'' must match pattern ''{1}''."/>
+        </module>
           <module name="MutableException"/>
             <module name="WhitespaceAround">
             <property name="allowEmptyConstructors" value="true"/>
@@ -228,11 +233,7 @@
             <message key="name.invalidPattern"
              value="Local variable name ''{0}'' must match pattern ''{1}''."/>
         </module>
-        <module name="ClassTypeParameterName">
-            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
-            <message key="name.invalidPattern"
-             value="Class type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
+
 
         <module name="ConstantName" />
 


Mime
View raw message