diff options
author | michelou <michelou@epfl.ch> | 2008-02-06 10:43:23 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-02-06 10:43:23 +0000 |
commit | df55a8175a90180194c61f91592a5e34b0bcf2e5 (patch) | |
tree | 39e75364a900c39b2f0d16389aea763e6ec4519f /src/build | |
parent | 09f0838d0799149c0545970d68b3c052a7827aef (diff) | |
download | scala-df55a8175a90180194c61f91592a5e34b0bcf2e5.tar.gz scala-df55a8175a90180194c61f91592a5e34b0bcf2e5.tar.bz2 scala-df55a8175a90180194c61f91592a5e34b0bcf2e5.zip |
switched to Scala implementation of StringBuilder
Diffstat (limited to 'src/build')
-rw-r--r-- | src/build/genprod.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/build/genprod.scala b/src/build/genprod.scala index cd18bee7b7..0fd71ab95d 100644 --- a/src/build/genprod.scala +++ b/src/build/genprod.scala @@ -1,6 +1,6 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** @@ -238,7 +238,7 @@ object TupleFile { <file name={tupleFilename(i)}> /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** @@ -255,7 +255,7 @@ case class {tupleClassname(i)}{__typeArgs__}({ __fields__ }) extends {productClassname(i)}{__typeArgRefs__} {{ override def toString() = {{ - val sb = new compat.StringBuilder + val sb = new StringBuilder { if ({i} == 1) "sb.append('(').append(_" + {i} + ").append(\",)\")" else { @@ -284,7 +284,7 @@ object ProductFile { <file name={productFilename(i)}> /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** |