More strict method parameter naming to prevent dumb parameter names such as arg0

This commit is contained in:
Trustin Lee 2012-11-12 13:35:38 +09:00
parent d42ae2c3fd
commit a70242ac89

View File

@ -115,5 +115,8 @@
<module name="MethodParamPad"/>
<module name="ParenPad"/>
<module name="TypecastParenPad"/>
<module name="ParameterName">
<property name="format" value="^(?!arg[0-9])[a-z][a-zA-Z0-9]*$" />
</module>
</module>
</module>