summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-12-08 00:02:33 +0000
committerPaul Phillips <paulp@improving.org>2010-12-08 00:02:33 +0000
commit8aed49aba930520b4b26b81beb57ffd6cc626765 (patch)
tree32b23a7053e4251193a95d8d72259bd9f796b4c9
parentcbc8495920e1db752cdb2da9c1446395bdb800ff (diff)
downloadscala-8aed49aba930520b4b26b81beb57ffd6cc626765.tar.gz
scala-8aed49aba930520b4b26b81beb57ffd6cc626765.tar.bz2
scala-8aed49aba930520b4b26b81beb57ffd6cc626765.zip
An unfortunate missing character in r22946 turn...
An unfortunate missing character in r22946 turned listbuffer into an append-only machine. I was the reviewer on that commit and I am sad that I missed it. Closes #4066, no review.
-rw-r--r--src/library/scala/collection/mutable/ListBuffer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/ListBuffer.scala b/src/library/scala/collection/mutable/ListBuffer.scala
index 3c58ecb6df..bcdf92beae 100644
--- a/src/library/scala/collection/mutable/ListBuffer.scala
+++ b/src/library/scala/collection/mutable/ListBuffer.scala
@@ -128,7 +128,7 @@ final class ListBuffer[A]
if (xs eq this) ++= (this take size) else super.++=(xs)
override def ++=:(xs: TraversableOnce[A]): this.type =
- if (xs eq this) ++=: (this take size) else super.++=(xs)
+ if (xs eq this) ++=: (this take size) else super.++=:(xs)
/** Clears the buffer contents.
*/