diff options
author | Paul Phillips <paulp@improving.org> | 2010-03-22 22:09:58 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-03-22 22:09:58 +0000 |
commit | 4eff9e1cd51202b8c3bf7c8e0fe176a05f4d4acd (patch) | |
tree | 944d9c77890c17ff7b9192e05ece9c4130f8113a /src/library/scala/collection/generic | |
parent | a263215e095d8168ed78b16c829a56ff48b2f9b6 (diff) | |
download | scala-4eff9e1cd51202b8c3bf7c8e0fe176a05f4d4acd.tar.gz scala-4eff9e1cd51202b8c3bf7c8e0fe176a05f4d4acd.tar.bz2 scala-4eff9e1cd51202b8c3bf7c8e0fe176a05f4d4acd.zip |
Consistency work on Addable and Growable.
Seq-derived classes. Creating GrowingBuilder to complement AddingBuilder
on classes with += but not +. Fixed some inconsistencies I came across
in the process. No review.
Diffstat (limited to 'src/library/scala/collection/generic')
-rw-r--r-- | src/library/scala/collection/generic/Addable.scala | 4 | ||||
-rw-r--r-- | src/library/scala/collection/generic/Growable.scala | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/library/scala/collection/generic/Addable.scala b/src/library/scala/collection/generic/Addable.scala index 9686e96c09..5cbc7951cf 100644 --- a/src/library/scala/collection/generic/Addable.scala +++ b/src/library/scala/collection/generic/Addable.scala @@ -61,7 +61,3 @@ trait Addable[A, +Repr <: Addable[A, Repr]] { self => */ def ++ (iter: Iterator[A]): Repr = (repr /: iter) (_ + _) } - - - - diff --git a/src/library/scala/collection/generic/Growable.scala b/src/library/scala/collection/generic/Growable.scala index fc3712d81e..93fe1fcb59 100644 --- a/src/library/scala/collection/generic/Growable.scala +++ b/src/library/scala/collection/generic/Growable.scala @@ -60,7 +60,3 @@ trait Growable[-A] { */ def clear() } - - - - |