mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-21 17:55:15 +01:00
Add Checkstyle rule to disallow toLowerCase() and toUpperCase() without Locale (#2606)
This commit is contained in:
parent
0f24197323
commit
63780e3f7c
@ -192,6 +192,12 @@
|
||||
<module name="MissingOverride"/>
|
||||
<module name="EqualsHashCode"/>
|
||||
<module name="EqualsAvoidNull"/>
|
||||
<module name="Regexp">
|
||||
<property name="format" value="\.to(Lower|Upper)Case\(\)"/>
|
||||
<property name="illegalPattern" value="true"/>
|
||||
<property name="ignoreComments" value="true"/>
|
||||
<property name="message" value="Use toLowerCase/toUpperCase with Locale"/>
|
||||
</module>
|
||||
</module>
|
||||
<module name="FileTabCharacter"/>
|
||||
</module>
|
||||
|
Loading…
Reference in New Issue
Block a user