Skip to content

Commit

Permalink
checkstyle.xml: stricter properties for 3 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed May 18, 2024
1 parent 3a15a8d commit c153e8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LambdaParameterName">
<property name="format" value="^[a-z][a-zA-Z0-9]{0,19}$"/>
<property name="format" value="^[a-z]{0,9}$"/>
<message key="name.invalidPattern"
value="Lambda parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
Expand All @@ -226,7 +226,7 @@
value="Method name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="PatternVariableName">
<property name="format" value="^[a-z][a-zA-Z0-9]{0,19}$"/>
<property name="format" value="^[a-z]{0,9}$"/>
<message key="name.invalidPattern"
value="Pattern variable name ''{0}'' must match pattern ''{1}''."/>
</module>
Expand All @@ -237,7 +237,7 @@
value="Class type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="RecordComponentName">
<property name="format" value="^[a-z][a-zA-Z0-9]{0,19}$"/>
<property name="format" value="^[a-z]{0,9}$"/>
<message key="name.invalidPattern"
value="Record component name ''{0}'' must match pattern ''{1}''."/>
</module>
Expand Down

0 comments on commit c153e8c

Please sign in to comment.