diff options
-rw-r--r-- | src/library/scala/collection/mutable/ListBuffer.scala | 2 |
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. */ |