You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/04/18 13:46:39 UTC

[GitHub] [incubator-hugegraph] seagle-yuan commented on a diff in pull request #1826: delete ClassTypeParameterName check

seagle-yuan commented on code in PR #1826:
URL: https://github.com/apache/incubator-hugegraph/pull/1826#discussion_r852127930


##########
style/checkstyle.xml:
##########
@@ -46,10 +46,10 @@
         <module name="TypeName">
             <message key="name.invalidPattern" value="Type 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="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>-->

Review Comment:
   I think we can implement and use the regular expression "[A-Z][a-zA-Z0-9]*$" 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org