[
https://issues.apache.org/jira/browse/OFBIZ-11886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17161770#comment-17161770 ]
ASF subversion and git services commented on OFBIZ-11886:
---------------------------------------------------------
Commit 038d46e51d477c1c1082202bae928202ad3fde4d in ofbiz-framework's branch refs/heads/trunk from Suraj Khurana
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=038d46e ]
Improved: Corrected some single line statements to fix checkstyle issues, also removed some remaining extra spaces from code to avoid checkstyle erros in applications component.
(OFBIZ-11886)
> Allow single line statements in checkstyle
> ------------------------------------------
>
> Key: OFBIZ-11886
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11886> Project: OFBiz
> Issue Type: Sub-task
> Components: ALL COMPONENTS
> Reporter: Suraj Khurana
> Assignee: Suraj Khurana
> Priority: Major
> Attachments: OFBIZ-11886-format-LoginServices-checkNewPassword.patch, OFBIZ-11886-plugins.patch, OFBIZ-11886.patch, OFBIZ-11886.patch
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)