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

qian commented on SPARK-39111:
------------------------------

[~bjornjorgensen] I use Alibaba Java Coding Guidelines. Please refer 
https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines

> Mark overriden methods with `@override` annotation
> --------------------------------------------------
>
>                 Key: SPARK-39111
>                 URL: https://issues.apache.org/jira/browse/SPARK-39111
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: qian
>            Assignee: qian
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: override.png
>
>
> An overridden method from an interface or abstract class must be marked with 
> {{@Override}} annotation. To accurately determine whether the overriding is 
> successful, an {{@Override}} annotation is necessary. Meanwhile, once the 
> method signature in the abstract class is changed, the implementation class 
> will report a compile-time error immediately.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to