summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/Queue.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-04-14 21:06:14 +0000
committerPaul Phillips <paulp@improving.org>2011-04-14 21:06:14 +0000
commit5ff4875db319ee2fef559c3e581100bedc84a184 (patch)
tree8389b468b53f5c71fbbbf1c987cf3d5e4e02d791 /src/library/scala/collection/immutable/Queue.scala
parent3de9030dca760325555d697e3082d714f84f5df5 (diff)
downloadscala-5ff4875db319ee2fef559c3e581100bedc84a184.tar.gz
scala-5ff4875db319ee2fef559c3e581100bedc84a184.tar.bz2
scala-5ff4875db319ee2fef559c3e581100bedc84a184.zip
Various addenda to soc's patch: regenerating Pr...
Various addenda to soc's patch: regenerating Product/Tuple/Function classes and AnyVal sources, making versioning consistent, etc. Closes #4477, no review.
Diffstat (limited to 'src/library/scala/collection/immutable/Queue.scala')
-rw-r--r--src/library/scala/collection/immutable/Queue.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/immutable/Queue.scala b/src/library/scala/collection/immutable/Queue.scala
index dd93c1435b..bf5dc6816a 100644
--- a/src/library/scala/collection/immutable/Queue.scala
+++ b/src/library/scala/collection/immutable/Queue.scala
@@ -81,7 +81,7 @@ class Queue[+A] protected(protected val in: List[A], protected val out: List[A])
*
* @param elem the element to insert
*/
- @deprecated("Use the method <code>enqueue</code> from now on.", "2.7.2")
+ @deprecated("Use `enqueue` instead", "2.7.2")
def +[B >: A](elem: B) = enqueue(elem)
/** Creates a new queue with element added at the end
@@ -99,7 +99,7 @@ class Queue[+A] protected(protected val in: List[A], protected val out: List[A])
*
* @param iter an iterable object
*/
- @deprecated("Use the method <code>enqueue</code> from now on.", "2.7.2")
+ @deprecated("Use `enqueue` instead", "2.7.2")
def +[B >: A](iter: Iterable[B]) = enqueue(iter)
/** Returns a new queue with all elements provided by