diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-01 20:40:19 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-01 20:40:19 +0000 |
commit | 6befaa0f9dbfebcfc16a1ab02d666124fb776ede (patch) | |
tree | 7b27a161f70546f581c7fbd6fe7ce1f39938f3c2 /src/compiler | |
parent | 8cc51cc0dce7d86a4137eb636c4e3bed1b90cf13 (diff) | |
download | scala-6befaa0f9dbfebcfc16a1ab02d666124fb776ede.tar.gz scala-6befaa0f9dbfebcfc16a1ab02d666124fb776ede.tar.bz2 scala-6befaa0f9dbfebcfc16a1ab02d666124fb776ede.zip |
Renamed overloaded toString variations througho...
Renamed overloaded toString variations throughout scala.xml to
buildString. Fixes bug #547, includes test case.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/ModelToXML.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/ModelToXML.scala b/src/compiler/scala/tools/nsc/doc/ModelToXML.scala index de60845d01..5f7137d7a3 100644 --- a/src/compiler/scala/tools/nsc/doc/ModelToXML.scala +++ b/src/compiler/scala/tools/nsc/doc/ModelToXML.scala @@ -125,7 +125,7 @@ trait ModelToXML extends ModelExtractor { def parse(str: String): NodeSeq = { new SpecialNode { def label = "#PCDATA" - def toString(sb: StringBuilder): StringBuilder = { + def buildString(sb: StringBuilder): StringBuilder = { sb.append(str.trim) sb } |