Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Implemented
-
None
-
None
-
None
-
OFBiz Community Day (May 2020), OFBiz Community Day (Aug 2020)
Description
We need to add this module in checkstyle.xml
<module name="NeedBraces">
<property name="allowSingleLineStatement" value="true"/>
</module>
After this, single line statements like:
if (Debug.verboseOn()) Debug.logVerbose(...)
Will be considered safe.