diff options
Diffstat (limited to 'src/library/scala/Console.scala')
-rw-r--r-- | src/library/scala/Console.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/library/scala/Console.scala b/src/library/scala/Console.scala index 31672ac8e6..bbef8aa3ce 100644 --- a/src/library/scala/Console.scala +++ b/src/library/scala/Console.scala @@ -182,10 +182,9 @@ object Console { /** * @see <a href="#printf(java.lang.String,scala.Any*)" * target="contentFrame">Console.printf</a>. - * @deprecated For console output, use <code>Console.printf</code>. For <code>String</code> formatting, - * <code>RichString</code>'s <code>format</code> method. */ - @deprecated + @deprecated("For console output, use <code>Console.printf</code>. For <code>String</code>\n"+ + "formatting, <code>RichString</code>'s <code>format</code> method.") def format(text: String, args: Any*) { if (text eq null) out.printf("null") else out.print(text format (args : _*)) |