You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Suraj Khurana (Jira)" <ji...@apache.org> on 2020/07/25 08:35:00 UTC

[jira] [Closed] (OFBIZ-11904) Case indentation for all switch statements should be 0

     [ https://issues.apache.org/jira/browse/OFBIZ-11904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suraj Khurana closed OFBIZ-11904.
---------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Implemented

This ticket fixed around *2000* checkstyle issues, bringing it down near to 18k.

> Case indentation for all switch statements should be 0
> ------------------------------------------------------
>
>                 Key: OFBIZ-11904
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11904
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Suraj Khurana
>            Assignee: Suraj Khurana
>            Priority: Major
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-11904-plugins.patch, OFBIZ-11904.patch
>
>
> Currently in java code all switch statements are indented to 4 or more than zero.
> As perĀ [https://www.oracle.com/technetwork/java/codeconventions-150003.pdf]
> and same configured in checkstyle.xml, we need to make 'case' indentation to 0 in all java code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)