HADOOP-17897. Allow nested blocks in switch case in checkstyle settings. (#3394)
(cherry picked from commit e183ec8998
)
This commit is contained in:
parent
736367e578
commit
34d443a2f0
|
@ -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