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

Hyukjin Kwon commented on SPARK-16877:
--------------------------------------

Also we might have to add 
[DeprecatedJavaChecker|http://www.scalastyle.org/rules-dev.html#org_scalastyle_scalariform_DeprecatedJavaChecker]
 to disallow Java's {{@Deprecated}} annotation instead of {{@deprecated}} in 
Scala.

> Add a rule for preventing use Java's Override annotation
> --------------------------------------------------------
>
>                 Key: SPARK-16877
>                 URL: https://issues.apache.org/jira/browse/SPARK-16877
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.0.1
>            Reporter: Hyukjin Kwon
>
> This was found in https://github.com/apache/spark/pull/14419
> It seems using {{@Override}} annotation in Scala code instead of {{override}} 
> modifier just passes Scala style checking.
> It might better add a rule for checking this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to