diff options
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/compat/StringBuilder.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotnet-library/scala/compat/StringBuilder.scala b/src/dotnet-library/scala/compat/StringBuilder.scala index ed67f909e2..8417184235 100644 --- a/src/dotnet-library/scala/compat/StringBuilder.scala +++ b/src/dotnet-library/scala/compat/StringBuilder.scala @@ -1,7 +1,7 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ @@ -11,7 +11,6 @@ package scala.compat - import System.Text.{StringBuilder => StringBuffer} final class StringBuilder(str: StringBuffer) { @@ -21,6 +20,7 @@ final class StringBuilder(str: StringBuffer) { def this(s: String) = this(new StringBuffer(s)) def charAt(i: Int): Char = str(i) + def setCharAt(index: Int, c: Char): Unit = str(index) = c def append(x: Any): StringBuilder = { str.Append(x); this } |