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 2016/03/25 22:26:25 UTC
[jira] [Commented] (SPARK-14167) Remove redundant `return` in Scala
code
[ https://issues.apache.org/jira/browse/SPARK-14167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212441#comment-15212441 ]
Apache Spark commented on SPARK-14167:
--------------------------------------
User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/11968
> Remove redundant `return` in Scala code
> ---------------------------------------
>
> Key: SPARK-14167
> URL: https://issues.apache.org/jira/browse/SPARK-14167
> Project: Spark
> Issue Type: Task
> Reporter: Dongjoon Hyun
> Priority: Trivial
>
> Spark Scala code takes advantage of `return` statement as a control flow in many cases, but it does not mean *redundant* `return` statements are needed. This issue tries to remove redundant `return` statement in Scala code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org