HADOOP-17897. Allow nested blocks in switch case in checkstyle settings. (#3394)
(cherry picked from commit e183ec8998
)
This commit is contained in:
parent
3b1c594355
commit
5926ccde77
|
@ -161,7 +161,9 @@
|
|||
|
||||
<!-- Checks for blocks. You know, those {}'s -->
|
||||
<!-- See http://checkstyle.sf.net/config_blocks.html -->
|
||||
<module name="AvoidNestedBlocks"/>
|
||||
<module name="AvoidNestedBlocks">
|
||||
<property name="allowInSwitchCase" value="true"/>
|
||||
</module>
|
||||
<module name="EmptyBlock"/>
|
||||
<module name="LeftCurly"/>
|
||||
<module name="NeedBraces"/>
|
||||
|
|
Loading…
Reference in New Issue