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 12:40:20 UTC

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

Shivansh created SPARK-16897:
--------------------------------

             Summary: 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