mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-10 21:01:17 +01:00
Configure Class Design checkstyle.
This commit is contained in:
parent
f725723932
commit
1d47473cd3
@ -68,6 +68,23 @@
|
|||||||
</module>
|
</module>
|
||||||
<module name="RightCurly"/>
|
<module name="RightCurly"/>
|
||||||
|
|
||||||
|
<!-- Class Design -->
|
||||||
|
<module name="DesignForExtension">
|
||||||
|
<property name="severity" value="info"/>
|
||||||
|
</module>
|
||||||
|
<module name="FinalClass"/>
|
||||||
|
<module name="HideUtilityClassConstructor"/>
|
||||||
|
<module name="InnerTypeLast"/>
|
||||||
|
<module name="InterfaceIsType"/>
|
||||||
|
<module name="MutableException"/>
|
||||||
|
<module name="OneTopLevelClass"/>
|
||||||
|
<module name="ThrowsCount">
|
||||||
|
<property name="max" value="0"/>
|
||||||
|
</module>
|
||||||
|
<module name="VisibilityModifier">
|
||||||
|
<property name="protectedAllowed" value="true"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
<!-- Javadoc Comments -->
|
<!-- Javadoc Comments -->
|
||||||
<module name="AtclauseOrder"/>
|
<module name="AtclauseOrder"/>
|
||||||
<module name="InvalidJavadocPosition"/>
|
<module name="InvalidJavadocPosition"/>
|
||||||
@ -167,15 +184,6 @@
|
|||||||
<module name="MissingSwitchDefault"/>
|
<module name="MissingSwitchDefault"/>
|
||||||
<module name="SimplifyBooleanExpression"/>
|
<module name="SimplifyBooleanExpression"/>
|
||||||
<module name="SimplifyBooleanReturn"/>
|
<module name="SimplifyBooleanReturn"/>
|
||||||
<!-- Don't like errors for `final` missing
|
|
||||||
<module name="DesignForExtension"/>
|
|
||||||
<module name="FinalClass"/>
|
|
||||||
-->
|
|
||||||
<module name="HideUtilityClassConstructor"/>
|
|
||||||
<module name="InterfaceIsType"/>
|
|
||||||
<module name="VisibilityModifier">
|
|
||||||
<property name="protectedAllowed" value="true"/>
|
|
||||||
</module>
|
|
||||||
<module name="ArrayTypeStyle"/>
|
<module name="ArrayTypeStyle"/>
|
||||||
<!-- Don't like errors for `final` missing
|
<!-- Don't like errors for `final` missing
|
||||||
<module name="FinalParameters"/>
|
<module name="FinalParameters"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user