Skip to content

Commit 2b99e6f

Browse files
committed
checkstyle.xml: add 3 modules
1 parent 2ad2d5f commit 2b99e6f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

config/checkstyle/checkstyle.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@
9494
<module name="FinalClass"/>
9595
<module name="HideUtilityClassConstructor"/>
9696
<module name="InterfaceIsType"/>
97+
<module name="MutableException"/>
9798
<module name="OneTopLevelClass"/>
99+
<module name="ThrowsCount">
100+
<property name="max" value="1"/>
101+
</module>
98102

99103
<!-- Checks for common coding problems: -->
100104
<!-- See https://checkstyle.org/checks/coding -->
@@ -120,6 +124,7 @@
120124
</module>
121125
<module name="IllegalType"/>
122126
<module name="MissingSwitchDefault"/>
127+
<module name="ModifiedControlVariable"/>
123128
<module name="MultipleVariableDeclarations"/>
124129
<module name="NoFinalizer"/>
125130
<module name="OneStatementPerLine"/>

0 commit comments

Comments
 (0)