You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/01/08 09:32:39 UTC

[jira] [Closed] (SPARK-3893) declare mutableMap/mutableSet explicitly

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

Reynold Xin closed SPARK-3893.
------------------------------
    Resolution: Won't Fix

> declare  mutableMap/mutableSet explicitly
> -----------------------------------------
>
>                 Key: SPARK-3893
>                 URL: https://issues.apache.org/jira/browse/SPARK-3893
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 1.1.0
>            Reporter: shijinkui
>
> {code:java}
>   // current
>   val workers = new HashSet[WorkerInfo]
>   // sugguest
>   val workers = new mutable.HashSet[WorkerInfo]
> {code}
> the other benefit is reminding us whether can use immutable collection instead of.
> most of map we used is mutable.



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