Skip to content

Commit

Permalink
Update checkstyle rule to permit parameter name '__'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangt2333 committed May 27, 2024
1 parent a5c0672 commit b848c52
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 @@ -188,7 +188,7 @@
<!-- value="Member name ''{0}'' must match pattern ''{1}''."/>-->
<!-- </module>-->
<module name="ParameterName">
<property name="format" value="^[a-z]([a-zA-Z0-9]*)?$"/>
<property name="format" value="^[a-z]([a-zA-Z0-9]*)?$|^\_\_$"/>
<message key="name.invalidPattern"
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
Expand Down

0 comments on commit b848c52

Please sign in to comment.