spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-20317) There is no need to use 'return' keyword in scala method
Date Thu, 13 Apr 2017 06:28:41 GMT

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

Apache Spark reassigned SPARK-20317:
------------------------------------

    Assignee:     (was: Apache Spark)

> There is no need to use 'return' keyword in scala method
> --------------------------------------------------------
>
>                 Key: SPARK-20317
>                 URL: https://issues.apache.org/jira/browse/SPARK-20317
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Shell
>    Affects Versions: 2.1.0
>         Environment: spark2.1.0
>            Reporter: Xiaochen Ouyang
>            Priority: Minor
>
> In scala, the last statement in a method is automatically returned, use of keyword 'retrurn'
is redundant.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message