Skip to content

Commit f375401

Browse files
committed
checkstyle.xml: add 3 modules
1 parent 95f53b1 commit f375401

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868

6969
<!-- Checks for blocks: -->
7070
<!-- See https://checkstyle.org/checks/blocks -->
71+
<module name="AvoidNestedBlocks"/>
7172
<module name="EmptyBlock">
7273
<property name="option" value="TEXT"/>
7374
<property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH, ARRAY_INIT, INSTANCE_INIT, LITERAL_CASE, LITERAL_CATCH, LITERAL_DEFAULT, LITERAL_DO, LITERAL_FOR, LITERAL_SYNCHRONIZED, LITERAL_WHILE, STATIC_INIT"/>
@@ -129,6 +130,7 @@
129130
</module>
130131
<module name="IllegalType"/>
131132
<module name="MissingSwitchDefault"/>
133+
<module name="ModifiedControlVariable"/>
132134
<module name="MultipleVariableDeclarations"/>
133135
<module name="NoFinalizer"/>
134136
<module name="OneStatementPerLine"/>
@@ -201,6 +203,7 @@
201203
<module name="CommentsIndentation">
202204
<property name="tokens" value="SINGLE_LINE_COMMENT, BLOCK_COMMENT_BEGIN"/>
203205
</module>
206+
<module name="HexLiteralCase"/>
204207
<module name="NoCodeInFile"/>
205208
<module name="OuterTypeFilename"/>
206209
<module name="UpperEll"/>

0 commit comments

Comments
 (0)