From ebceb2fa8dbbf61352ce01769931950177a4a9ef Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 9 Feb 2010 18:37:44 +0000 Subject: No double-processing format strings. --- src/library/scala/Predef.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala index 5684c91aaa..760d215d3f 100644 --- a/src/library/scala/Predef.scala +++ b/src/library/scala/Predef.scala @@ -150,7 +150,7 @@ object Predef extends LowPriorityImplicits { def print(x: Any) = Console.print(x) def println() = Console.println() def println(x: Any) = Console.println(x) - def printf(text: String, xs: Any*) = Console.printf(format(text, xs: _*)) + def printf(text: String, xs: Any*) = Console.print(format(text, xs: _*)) def format(text: String, xs: Any*) = augmentString(text).format(xs: _*) def readLine(): String = Console.readLine() -- cgit v1.2.3