You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2021/08/04 08:08:00 UTC
[jira] [Created] (SPARK-36410) Replace anonymous classes with
lambda expressions
Yang Jie created SPARK-36410:
--------------------------------
Summary: 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
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