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

Bjørn Jørgensen updated SPARK-39111:
------------------------------------
    Attachment: override.png

> 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
>            Priority: Minor
>         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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to