From a8e5a7be9f63ef6795524e263777756f0043b8c1 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 16 Jul 2011 20:40:11 +0000 Subject: Removed classes and methods deprecated before 2.8. Contributed by Simon Ochsenreither. --- src/library/scala/collection/immutable/Queue.scala | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/library') diff --git a/src/library/scala/collection/immutable/Queue.scala b/src/library/scala/collection/immutable/Queue.scala index c3ae2ffa19..75c3845f04 100644 --- a/src/library/scala/collection/immutable/Queue.scala +++ b/src/library/scala/collection/immutable/Queue.scala @@ -74,14 +74,6 @@ class Queue[+A] protected(protected val in: List[A], protected val out: List[A]) */ override def length = in.length + out.length - /** Creates a new queue with element added at the end - * of the old queue. - * - * @param elem the element to insert - */ - @deprecated("Use `enqueue` instead", "2.7.2") - def +[B >: A](elem: B) = enqueue(elem) - /** Creates a new queue with element added at the end * of the old queue. * @@ -89,17 +81,6 @@ class Queue[+A] protected(protected val in: List[A], protected val out: List[A]) */ def enqueue[B >: A](elem: B) = new Queue(elem :: in, out) - /** Returns a new queue with all elements provided by an `Iterable` object - * added at the end of the queue. - * - * The elements are prepended in the order they are given out by the - * iterator. - * - * @param iter an iterable object - */ - @deprecated("Use `enqueue` instead", "2.7.2") - def +[B >: A](iter: Iterable[B]) = enqueue(iter) - /** Returns a new queue with all elements provided by an `Iterable` object * added at the end of the queue. * -- cgit v1.2.3