Add NeedBraces checkstyle rule

Also fixed new checkstyle violations
This commit is contained in:
Draycia committed 2022-12-16 14:23:28 -08:00
1 parent ea29ee868c
commit ebaecad617
6 files changed
+51 -12

No files matched your search

+3
View File
@@ -61,6 +61,9 @@
<!-- https://checkstyle.org/config_imports.html#AvoidStarImport -->
<module name="AvoidStarImport"/>
<!-- https://checkstyle.sourceforge.io/config_blocks.html#NeedBraces -->
<module name="NeedBraces"/>
<!-- https://checkstyle.org/config_misc.html#AvoidEscapedUnicodeCharacters -->
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowByTailComment" value="true"/>