-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Implemented
-
Affects Version/s: None
-
Fix Version/s: Upcoming Branch
-
Component/s: ALL COMPONENTS
-
Labels:None
-
Sprint:OFBiz Community Day (May 2020), OFBiz Community Day (Aug 2020)
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.