You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2022/05/06 23:15:00 UTC

[jira] [Resolved] (SPARK-39111) Mark overriden methods with `@override` annotation

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

Sean R. Owen resolved SPARK-39111.
----------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 36461
[https://github.com/apache/spark/pull/36461]

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org