summaryrefslogtreecommitdiff
path: root/src/dotnet-library
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-07-13 10:56:44 +0000
committermihaylov <mihaylov@epfl.ch>2007-07-13 10:56:44 +0000
commitd93096ce9283641f027e0c81b6f52ef07a1e1bf0 (patch)
tree92710dbd2cbdaed9fb24fecbac15f97fc60bb4a3 /src/dotnet-library
parentca623645faee8ba8dc5d88da3b2faf0eceabc288 (diff)
downloadscala-d93096ce9283641f027e0c81b6f52ef07a1e1bf0.tar.gz
scala-d93096ce9283641f027e0c81b6f52ef07a1e1bf0.tar.bz2
scala-d93096ce9283641f027e0c81b6f52ef07a1e1bf0.zip
Synced dotnet library with rev 12294
Diffstat (limited to 'src/dotnet-library')
-rw-r--r--src/dotnet-library/scala/Console.scala10
-rw-r--r--src/dotnet-library/scala/compat/Math.scala6
2 files changed, 8 insertions, 8 deletions
diff --git a/src/dotnet-library/scala/Console.scala b/src/dotnet-library/scala/Console.scala
index 23d70cd081..7a9c20c034 100644
--- a/src/dotnet-library/scala/Console.scala
+++ b/src/dotnet-library/scala/Console.scala
@@ -66,7 +66,7 @@ object Console {
*
* @param out the new output stream.
*/
- def setOut(out: TextWriter): Unit = outVar.value = out
+ def setOut(out: TextWriter) { outVar.value = out }
/** Set the default output stream for the duration
* of execution of one thunk.
@@ -109,7 +109,7 @@ object Console {
* output (i.e. output not terminated by a new line character) has
* to be made visible on the terminal.
*/
- def flush(): Unit = out.Flush()
+ def flush() { out.Flush() }
/** Print a new line character on the terminal.
*/
@@ -130,16 +130,16 @@ object Console {
* <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>
+ * 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>.
+ * class="java/util/Formatter">format syntax</a>.
* </p>
*
* @param text the format of the text to print out.
* @param args the parameters used to instantiate the format.
* @throws java.lang.IllegalArgumentException
*/
- def printf(text: String, args: Any*): Unit = format(text, args: _*)
+ def printf(text: String, args: Any*) { format(text, args: _*) }
/**
* @see <a href="#printf(java.lang.String,scala.Any*)"
diff --git a/src/dotnet-library/scala/compat/Math.scala b/src/dotnet-library/scala/compat/Math.scala
index ff820bb074..d59f3bdd15 100644
--- a/src/dotnet-library/scala/compat/Math.scala
+++ b/src/dotnet-library/scala/compat/Math.scala
@@ -1,7 +1,7 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
+** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
@@ -12,7 +12,7 @@
package scala.compat
/**
- * This class will be removed soon. Use scala.Math instead
+ * This class will be removed soon. Use <code>scala.Math</code> instead.
*/
@deprecated
object Math {