summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/IndexedSeq.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2009-10-22 09:43:14 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2009-10-22 09:43:14 +0000
commit907fd78c9bda27b429aaf7d555731c027d6d1cbb (patch)
tree83187416c39130e84ecdb6cb45d0b11373e9ebc1 /src/library/scala/collection/mutable/IndexedSeq.scala
parent3bd3ae75dae560a307c818515d79a0a4ebe67d41 (diff)
downloadscala-907fd78c9bda27b429aaf7d555731c027d6d1cbb.tar.gz
scala-907fd78c9bda27b429aaf7d555731c027d6d1cbb.tar.bz2
scala-907fd78c9bda27b429aaf7d555731c027d6d1cbb.zip
removed some of the code duplication that Marti...
removed some of the code duplication that Martin pointed out in my addition of def apply() to GenericCanBuildFrom
Diffstat (limited to 'src/library/scala/collection/mutable/IndexedSeq.scala')
-rw-r--r--src/library/scala/collection/mutable/IndexedSeq.scala5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/library/scala/collection/mutable/IndexedSeq.scala b/src/library/scala/collection/mutable/IndexedSeq.scala
index 25382d4d5f..540e57fca3 100644
--- a/src/library/scala/collection/mutable/IndexedSeq.scala
+++ b/src/library/scala/collection/mutable/IndexedSeq.scala
@@ -25,9 +25,6 @@ trait IndexedSeq[A] extends Seq[A]
}
object IndexedSeq extends SeqFactory[IndexedSeq] {
- implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, IndexedSeq[A]] =
- new GenericCanBuildFrom[A] {
- def apply() = newBuilder[A]
- }
+ implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, IndexedSeq[A]] = new GenericCanBuildFrom[A]
def newBuilder[A]: Builder[A, IndexedSeq[A]] = new ArrayBuffer[A]
}