Add 'private final .*' to LineLength ignorePattern

This commit is contained in:
a.romanov 2021-03-26 16:12:08 +03:00 committed by Alexander Romanov
parent dc0af96108
commit c18e9a930d

View File

@ -45,7 +45,9 @@
<module name="LineLength"> <module name="LineLength">
<property name="fileExtensions" value="java"/> <property name="fileExtensions" value="java"/>
<property name="max" value="120"/> <property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/> <!-- Added 'private final .*' not to mess with long bean names -->
<property name="ignorePattern"
value="^package.*|^import.*|^ *private final .*"/>
</module> </module>
<module name="TreeWalker"> <module name="TreeWalker">