Skip to content

Commit 5c73bd4

Browse files
committed
checkstyle.xml: stricter properties for 2 modules
1 parent e02f4cb commit 5c73bd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<module name="RightCurly">
8989
<property name="id" value="RightCurlyAlone"/>
9090
<property name="option" value="alone"/>
91-
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT, INSTANCE_INIT, ANNOTATION_DEF, ENUM_DEF, INTERFACE_DEF, RECORD_DEF, COMPACT_CTOR_DEF, LITERAL_SWITCH, LITERAL_CASE"/>
91+
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT, INSTANCE_INIT, ANNOTATION_DEF, ENUM_DEF, INTERFACE_DEF, RECORD_DEF, COMPACT_CTOR_DEF, LITERAL_SWITCH, LITERAL_CASE, LITERAL_FINALLY"/>
9292
</module>
9393
<module name="SuppressionXpathSingleFilter">
9494
<!-- suppression is required till https://github.com/checkstyle/checkstyle/issues/7541 -->
@@ -234,7 +234,7 @@
234234
<message key="name.invalidPattern" value="Catch parameter name ''{0}'' must match pattern ''{1}''."/>
235235
</module>
236236
<module name="ClassTypeParameterName">
237-
<property name="format" value="^[A-Z]$"/>
237+
<property name="format" value="^T$"/>
238238
<message key="name.invalidPattern" value="Class type name ''{0}'' must match pattern ''{1}''."/>
239239
</module>
240240
<module name="InterfaceTypeParameterName">

0 commit comments

Comments
 (0)