[ 
https://issues.apache.org/jira/browse/SPARK-16897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407695#comment-15407695
 ] 

Apache Spark commented on SPARK-16897:
--------------------------------------

User 'shiv4nsh' has created a pull request for this issue:
https://github.com/apache/spark/pull/14493

> Invalid use of var where val can be used.
> -----------------------------------------
>
>                 Key: SPARK-16897
>                 URL: https://issues.apache.org/jira/browse/SPARK-16897
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 2.0.0
>            Reporter: Shivansh
>            Priority: Trivial
>
> Variable is defined as var when it can be used as val , and we should use val 
> in scala until or unless the var becomes necessary



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to