[jira] [Commented] (CARBONDATA-3568) optimize java code checkstyle for @Override rule

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-3568) optimize java code checkstyle for @Override rule

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-3568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966689#comment-16966689 ]

lamber-ken commented on CARBONDATA-3568:
----------------------------------------

hi, [~rabikumar.kc], you are welcome. May be it's better that you can work for other checkstyle rules, like
 * AvoidStarImport
 * LeftCurly
 * SimplifyBooleanExpression
 * EmptyLineSeparator
 * WhitespaceAfter
 * NoWhitespaceAfter
 * NoWhitespaceBefore
 * OperatorWrap

you can follow these steps to contribute to Carbondata project. [http://carbondata.apache.org/how-to-contribute-to-apache-carbondata.html]

 

 

> optimize java code checkstyle for @Override rule
> ------------------------------------------------
>
>                 Key: CARBONDATA-3568
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3568
>             Project: CarbonData
>          Issue Type: Improvement
>          Components: core, flink-integration, hadoop-integration, presto-integration
>    Affects Versions: 1.6.1
>            Reporter: lamber-ken
>            Priority: Major
>             Fix For: 2.0.0
>
>
> @Override should at one line in java code file. for a bad example
> {code:java}
> @Override public int hashCode() {
>   int result = order;
>   result = 31 * result + (dataMap != null ? dataMap.hashCode() : 0);
>   return result;
> }
> {code}
>  



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