diff options
author | Martin Odersky <odersky@gmail.com> | 2008-12-09 17:40:50 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-12-09 17:40:50 +0000 |
commit | f83d8977544ec7fc3eed59e032e3705f30290c00 (patch) | |
tree | 2109641f8f4d84630726637ed480e0512c99e1d5 /src/library/scalax/collection/mutable/Appendable.scala | |
parent | 4d32e17513cf46b786eef8523653ac366c73a09c (diff) | |
download | scala-f83d8977544ec7fc3eed59e032e3705f30290c00.tar.gz scala-f83d8977544ec7fc3eed59e032e3705f30290c00.tar.bz2 scala-f83d8977544ec7fc3eed59e032e3705f30290c00.zip |
updates to scalax collections and standard libr...
updates to scalax collections and standard library classes.
Diffstat (limited to 'src/library/scalax/collection/mutable/Appendable.scala')
-rw-r--r-- | src/library/scalax/collection/mutable/Appendable.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scalax/collection/mutable/Appendable.scala b/src/library/scalax/collection/mutable/Appendable.scala index b8e8569a14..6dbe89346e 100644 --- a/src/library/scalax/collection/mutable/Appendable.scala +++ b/src/library/scalax/collection/mutable/Appendable.scala @@ -33,7 +33,7 @@ trait Appendable[A] { def +=(elem1: A, elem2: A, elems: A*) { this += elem1 this += elem2 - this ++= elems.asInstanceOf[Iterable[A]] // !!! + this ++= elems.asInstanceOf[Iterable[A]] // !@! } /** Appends a number of elements provided by an iterator @@ -64,7 +64,7 @@ trait Appendable[A] { * @param elems the remaining elements to append. */ def +(elem1: A, elem2: A, elems: A*): this.type = - this + elem1 + elem2 ++ elems.asInstanceOf[Iterable[A]] // !!! + this + elem1 + elem2 ++ elems.asInstanceOf[Iterable[A]] // !@! /** Appends a number of elements provided by an iterable object * via its <code>elements</code> method. The identity of the |