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 cc6bf4b  FINERACT-821 Added MethodTypeParameterName checkstyle
cc6bf4b is described below

commit cc6bf4b4b0f575faa2e55be02931e92b69e66f0d
Author: thesmallstar <[email protected]>
AuthorDate: Thu Jun 4 02:28:24 2020 +0530

    FINERACT-821 Added MethodTypeParameterName 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 8c8b27b..a235c5f 100644
--- a/fineract-provider/config/checkstyle/checkstyle.xml
+++ b/fineract-provider/config/checkstyle/checkstyle.xml
@@ -76,6 +76,11 @@
             <message key="name.invalidPattern"
              value="Type name ''{0}'' must match pattern ''{1}''."/>
         </module>
+            <module name="MethodTypeParameterName">
+            <property name="format" 
value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
+            <message key="name.invalidPattern"
+             value="Method type name ''{0}'' must match pattern ''{1}''."/>
+        </module>
           <module name="PackageName">
             <property name="format" value="^[a-z]+(\.[a-z][a-z0-9_]*)*$"/>
             <message key="name.invalidPattern"
@@ -194,11 +199,7 @@
             <message key="name.invalidPattern"
              value="Method name ''{0}'' must match pattern ''{1}''."/>
         </module>
-        <module name="MethodTypeParameterName">
-            <property name="format" 
value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
-            <message key="name.invalidPattern"
-             value="Method type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
+    
         <module name="ConstantName" />
         <module name="NoFinalizer"/>
         <module name="GenericWhitespace">

Reply via email to