diff options
author | Paul Phillips <paulp@improving.org> | 2010-12-03 07:17:57 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-12-03 07:17:57 +0000 |
commit | ff8932a4297e4b0439897edf5e47020d60dcb5a6 (patch) | |
tree | ea07aa9725f209ce4beb5b3a4f94bf1d7d99bffd /src/library/scala/collection/mutable | |
parent | 13182292f247123391eea0e2c62a7fdb6b389c23 (diff) | |
download | scala-ff8932a4297e4b0439897edf5e47020d60dcb5a6.tar.gz scala-ff8932a4297e4b0439897edf5e47020d60dcb5a6.tar.bz2 scala-ff8932a4297e4b0439897edf5e47020d60dcb5a6.zip |
Recovered ++: from the dustbin and dropped it o...
Recovered ++: from the dustbin and dropped it on Traversable. Removed
a very unfortunate deprecated method from BufferLike which it was not
authorized to deprecate because it's a Seq. Closes #3471, review by
prokopec.
Diffstat (limited to 'src/library/scala/collection/mutable')
-rw-r--r-- | src/library/scala/collection/mutable/BufferLike.scala | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/library/scala/collection/mutable/BufferLike.scala b/src/library/scala/collection/mutable/BufferLike.scala index 3654dd82fa..32c666ea58 100644 --- a/src/library/scala/collection/mutable/BufferLike.scala +++ b/src/library/scala/collection/mutable/BufferLike.scala @@ -233,31 +233,6 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]] } } - - /** This method prepends elements to the buffer and - * returns the same buffer. - * - * $compatMutate - * You are strongly recommended to use `++=:` instead. - * - * @param xs elements to prepend - * @return this buffer - */ - @deprecated("use ++=: instead") - final def ++:(xs: collection.Traversable[A]): This = ++=:(xs) - - /** This method prepends elements to the buffer and - * returns the same buffer. - * - * $compatMutate - * You are strongly recommended to use `+=:` instead. - * - * @param xs elements to prepend - * @return this buffer - */ - @deprecated("use `+=:' instead") - final def +:(elem: A): This = +=:(elem) - /** Adds a single element to this collection and returns * the collection itself. * |