diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2007-11-06 15:53:45 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2007-11-06 15:53:45 +0000 |
commit | 491d263ce251a952f45a84f4b127cd2a9712db09 (patch) | |
tree | 121eb428760f8dabdaa8bb05994dc8cf515da5ba /src/library/scala/Console.scala | |
parent | 64177deffa2f3324038bd3067dc4a67529dae9f4 (diff) | |
download | scala-491d263ce251a952f45a84f4b127cd2a9712db09.tar.gz scala-491d263ce251a952f45a84f4b127cd2a9712db09.tar.bz2 scala-491d263ce251a952f45a84f4b127cd2a9712db09.zip |
Fixed ticket #221: incorrect ScalaDoc for Conso...
Fixed ticket #221: incorrect ScalaDoc for Console.printf.
Diffstat (limited to 'src/library/scala/Console.scala')
-rw-r--r-- | src/library/scala/Console.scala | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/library/scala/Console.scala b/src/library/scala/Console.scala index 5822c37dc9..53f7be09ee 100644 --- a/src/library/scala/Console.scala +++ b/src/library/scala/Console.scala @@ -162,21 +162,17 @@ object Console { def println(x: Any): Unit = out.println(x) /** <p> - * Format and print out some text (in a fashion similar to printf in C or - * <code>printf</code> in Java 6). + * Prints its arguments as a formatted string, based on a string + * pattern (in a fashion similar to printf in C). * </p> * <p> - * The format of the text to print is specified by the parameter - * <code>text</code>. The arguments that are inserted into specific - * locations in <code>text</code> are provided with parameter - * <code>args</code>. See class <a href="" target="contentFrame" - * class="java/text/MessageFormat"><code>java.text.MessageFormat</code></a> - * for a full specification of the <a href="#syntax" target="contentFrame" - * class="java/util/Formatter">format syntax</a>. + * The interpretation of the formatting patterns is described in + * <a href="" target="contentFrame" class="java/text/MessageFormat"> + * <code>java.text.MessageFormat</code></a>. * </p> * - * @param text the format of the text to print out. - * @param args the parameters used to instantiate the format. + * @param text the pattern for formatting the arguments. + * @param args the arguments used to instantiating the pattern. * @throws java.lang.IllegalArgumentException */ def printf(text: String, args: Any*) { format(text, args: _*) } |