Require NeedBraces in checkstyle.
<module name="AvoidNestedBlocks" />
<module name="EmptyBlock" />
<module name="LeftCurly" />
- <module name="NeedBraces" />
+ -->
+
+ <module name="NeedBraces">
+ <property name="allowSingleLineStatement" value="true"/>
+ </module>
+ <!--
<module name="RightCurly" />
-->
