Hello team, I have created a ticket https://issues.apache.org/jira/browse/OFBIZ-11886 to allow single line statements during checkstyle, I hope we are fine with this.
For this, we need to add a module to allow single line statements:
==============
<module name="NeedBraces">
<property name="allowSingleLineStatement" value="true"/>
</module>
==============
Let me know your thoughts on this.
--
Best Regards,
Suraj Khurana
Senior Technical Consultant
