Github user jodersky commented on the issue:

    https://github.com/apache/spark/pull/14359
  
    > I switched to Stack and then realized Stack has been deprecated in Scala 
2.11...
    
    I think you probably read the *immutable* stack docs; the *mutable* stack 
is not deprecated AFAIK. I can imagine that having a custom stack 
implementation may allow for additional operations in the future, however we 
should also consider that using standard collections reduces the load for 
anyone who will maintain the code then.
    
    Btw, I highly recommend to use the [milestone 
scaladocs](http://www.scala-lang.org/api/2.12.0-M5/scala/collection/mutable/Stack.html)
 over the current ones. Although 2.12 is not officially out yet, the changes to 
the library are minimal and the UI is much more pleasant to use.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to