Skip to content

Commit

Permalink
checkstyle.xml: stricter format for the LambdaParameterName module
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jan 27, 2024
1 parent 0fcfab5 commit a9f7d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LambdaParameterName">
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<property name="format" value="^[a-z][a-zA-Z0-9]{0,19}$"/>
<message key="name.invalidPattern"
value="Lambda parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
Expand Down

0 comments on commit a9f7d60

Please sign in to comment.