You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivansh (JIRA)" <ji...@apache.org> on 2016/08/04 17:25:20 UTC

[jira] [Closed] (SPARK-16897) Invalid use of var where val can be used.

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

Shivansh closed SPARK-16897.
----------------------------
    Resolution: Won't Fix

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org