From 0ecbad689c05df4f25035c5b3666ef2864f218a2 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Wed, 31 Jan 2007 09:16:08 +0000 Subject: Uncommented printf --- src/library/scala/Console.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/library/scala/Console.scala b/src/library/scala/Console.scala index bcff65c84c..7cc8e9d4e9 100644 --- a/src/library/scala/Console.scala +++ b/src/library/scala/Console.scala @@ -171,12 +171,12 @@ object Console { * @param args the parameters used to instantiate the format. */ // todo: Uncurry -/* def printf(text: String)(args: Any*): Unit = + def printf(text: String)(args: Any*): Unit = out.print( if (text eq null) "null" else MessageFormat.format(text, textParams(args)) ) -*/ + /** Read a full line from the terminal. * * @return the string read from the terminal. -- cgit v1.2.3