You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/08/04 08:16:00 UTC

[jira] [Assigned] (SPARK-36410) Replace anonymous classes with lambda expressions

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

Apache Spark reassigned SPARK-36410:
------------------------------------

    Assignee: Apache Spark

> Replace anonymous classes with lambda expressions
> -------------------------------------------------
>
>                 Key: SPARK-36410
>                 URL: https://issues.apache.org/jira/browse/SPARK-36410
>             Project: Spark
>          Issue Type: Improvement
>          Components: Examples, Spark Core, SQL
>    Affects Versions: 3.3.0
>            Reporter: Yang Jie
>            Assignee: Apache Spark
>            Priority: Minor
>
> Anonymous classes can be replaced with lambda expressions in Java code, for example
> *before*
> {code:java}
> new Thread(new Runnable() {
>     @Override
>     public void run() {
>       // run thread
>     }
>   });
> {code}
> *after*
> {code:java}
> new Thread(() -> {
>     // run thread
>   });
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org