[
https://issues.apache.org/jira/browse/HBASE-20911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551373#comment-16551373
]
Ankit Singhal commented on HBASE-20911:
---------------------------------------
Is the new indentation consistent with checkstyle ?
Yes, this is done to make it consistent with checkstyle otherwise eclipse user
has to manually update the formatter or format the code for switch/case.
{code}
<module name="Indentation">
<property name="basicOffset" value="2"/>
<property name="caseIndent" value="2"/>
<property name="throwsIndent" value="2"/>
<property name="arrayInitIndent" value="2"/>
<property name="lineWrappingIndentation" value="2"/>
</module>
{code}
Updated a new patch with license header.
> correct Swtich/case indentation in formatter template for eclipse
> -----------------------------------------------------------------
>
> Key: HBASE-20911
> URL: https://issues.apache.org/jira/browse/HBASE-20911
> Project: HBase
> Issue Type: Bug
> Reporter: Ankit Singhal
> Assignee: Ankit Singhal
> Priority: Major
> Attachments: HBASE-20911.patch, HBASE-20911_v1.patch
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)