aboutsummaryrefslogtreecommitdiff
path: root/gradle/checkstyle.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gradle/checkstyle.xml')
-rw-r--r--gradle/checkstyle.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/gradle/checkstyle.xml b/gradle/checkstyle.xml
index 9d30e53d6..a6a6f0ff7 100644
--- a/gradle/checkstyle.xml
+++ b/gradle/checkstyle.xml
@@ -79,7 +79,9 @@
<!--<module name="MethodLength">
<property name="max" value="200"/>
</module>-->
- <module name="ParameterNumber"/>
+ <module name="ParameterNumber">
+ <property name="tokens" value="METHOD_DEF"/>
+ </module>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
@@ -122,7 +124,9 @@
<module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/>
- <module name="VisibilityModifier"/>
+ <module name="VisibilityModifier">
+ <property name="protectedAllowed" value="true"/>
+ </module>
<!-- Miscellaneous other checks. -->
<!-- See http://checkstyle.sf.net/config_misc.html -->