summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/StackProxy.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-15 20:48:25 +0000
committerPaul Phillips <paulp@improving.org>2011-08-15 20:48:25 +0000
commit20859263f2a2cf85464b333b9842bb31c020ee5e (patch)
tree8a315ae89a7a3bf1093dd4c62dffa7c188c785fc /src/library/scala/collection/mutable/StackProxy.scala
parente43daf434becf4497acb4d297ab6d2866c16d1aa (diff)
downloadscala-20859263f2a2cf85464b333b9842bb31c020ee5e.tar.gz
scala-20859263f2a2cf85464b333b9842bb31c020ee5e.tar.bz2
scala-20859263f2a2cf85464b333b9842bb31c020ee5e.zip
Removing the code which has been deprecated sin...
Removing the code which has been deprecated since 2.8.0. Contributed by Simon Ochsenreither, although deleting code is such fun one hesitates to call it a contribution. Still, we will. Closes SI-4860, no review.
Diffstat (limited to 'src/library/scala/collection/mutable/StackProxy.scala')
-rw-r--r--src/library/scala/collection/mutable/StackProxy.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/library/scala/collection/mutable/StackProxy.scala b/src/library/scala/collection/mutable/StackProxy.scala
index d5439a1531..8884f03bbd 100644
--- a/src/library/scala/collection/mutable/StackProxy.scala
+++ b/src/library/scala/collection/mutable/StackProxy.scala
@@ -49,16 +49,6 @@ trait StackProxy[A] extends Stack[A] with Proxy {
override def pushAll(xs: TraversableOnce[A]): this.type = { self pushAll xs; this }
- /** Pushes all elements provided by an `Iterable` object on top of the
- * stack. The elements are pushed in the order they are given out by
- * the iterator.
- *
- * @param iter an iterable object
- */
- @deprecated("use pushAll", "2.8.0")
- override def ++=(xs: TraversableOnce[A]): this.type = { self ++= xs ; this }
-
-
override def push(elem1: A, elem2: A, elems: A*): this.type = {
self.push(elem1).push(elem2).pushAll(elems)
this