diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-03-18 22:04:50 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-03-18 22:04:50 +0000 |
commit | 2f6f349a165d440cac757ef9f095771c60d655e9 (patch) | |
tree | 213c0c5172892b984085e4e6557804c5b085fbe1 | |
parent | d5a928e927ed534980c94cdb0bcb66f3e927b886 (diff) | |
download | scala-2f6f349a165d440cac757ef9f095771c60d655e9.tar.gz scala-2f6f349a165d440cac757ef9f095771c60d655e9.tar.bz2 scala-2f6f349a165d440cac757ef9f095771c60d655e9.zip |
Added missing StringBuilder methods for #656.
-rw-r--r-- | src/library/scala/StringBuilder.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/library/scala/StringBuilder.scala b/src/library/scala/StringBuilder.scala index 8b657c3279..866b60b5ca 100644 --- a/src/library/scala/StringBuilder.scala +++ b/src/library/scala/StringBuilder.scala @@ -370,6 +370,12 @@ extends (Int => Char) with Proxy { def append(x: Long): StringBuilder = append(String.valueOf(x)) + def append(x: Short): StringBuilder = + append(String.valueOf(x)) + + def append(x: Byte): StringBuilder = + append(String.valueOf(x)) + def append(x: Float): StringBuilder = append(String.valueOf(x)) |