diff options
author | Martin Odersky <odersky@gmail.com> | 2003-03-31 08:44:58 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-03-31 08:44:58 +0000 |
commit | 379a56669bfde2ee08e8941f2a49ccb328fa3d64 (patch) | |
tree | 6bff5b53e48de0bccbd6d3fd4d82115cc9e35286 /sources | |
parent | 9ba1d495333c6840b70ef3810a1712a0d5e73801 (diff) | |
download | scala-379a56669bfde2ee08e8941f2a49ccb328fa3d64.tar.gz scala-379a56669bfde2ee08e8941f2a49ccb328fa3d64.tar.bz2 scala-379a56669bfde2ee08e8941f2a49ccb328fa3d64.zip |
*** empty log message ***
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/List.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/List.scala b/sources/scala/List.scala index a079ce4fcc..36ccf54451 100644 --- a/sources/scala/List.scala +++ b/sources/scala/List.scala @@ -275,7 +275,7 @@ trait List[a] extends Seq[a] { else if (tail.isEmpty) head.toString() + end else head.toString().concat(sep).concat(tail.mkString("", sep, end))); - override def toString() = mkString("[", ",", "]"); + override def toString() = mkString("List(", ",", ")"); /** Return a list formed from this list and the specified list * <code>that</code> by associating each element of the former with |