summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2004-05-04 16:38:08 +0000
committermichelou <michelou@epfl.ch>2004-05-04 16:38:08 +0000
commiteeab29703e4aeb7e5f339746ff676a9f97805753 (patch)
treefebf46c91157041e6e93f50c0b3106a7267c6570
parent61bfff74537a7926d19420ceeaf56831ffcc8f4f (diff)
downloadscala-eeab29703e4aeb7e5f339746ff676a9f97805753.tar.gz
scala-eeab29703e4aeb7e5f339746ff676a9f97805753.tar.bz2
scala-eeab29703e4aeb7e5f339746ff676a9f97805753.zip
- updated Scala comment.
-rw-r--r--sources/scala/mobile/Code.scala12
1 files changed, 7 insertions, 5 deletions
diff --git a/sources/scala/mobile/Code.scala b/sources/scala/mobile/Code.scala
index 79d9eaca10..bdaa230bec 100644
--- a/sources/scala/mobile/Code.scala
+++ b/sources/scala/mobile/Code.scala
@@ -14,18 +14,20 @@ import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
-/** The clase <code>Code</code> provides <code>apply</code> methods
+/** The class <code>Code</code> provides <code>apply</code> methods
* with different arities (actually up to 9 parameters) to invoke
- * a function simply by specifying its name and argument types.
+ * a function simply by specifying its name and argument types.<p/>
*
* Example:<pre>
- * val url = new URL("http://scala.epfl.ch/classes/examples.jar");
- * val obj = new Location(url) create "examples.sort";
- * val ar = Array(6, 2, 8, 5, 1);
+ * <b>val</b> url = <b>new</b> URL("http://scala.epfl.ch/classes/examples.jar");
+ * <b>val</b> obj = <b>new</b> Location(url) create "examples.sort";
+ * <b>val</b> ar = Array(6, 2, 8, 5, 1);
* obj[Array[Int], Unit]("println")(ar);
* obj[Array[Int], Unit]("sort")(ar);
* obj[Array[Int], Unit]("println")(ar);</pre>
*
+ * @see class <a href="Location-class.html">Code</a>
+ *
* @author Stephane Micheloud
* @version 1.0, 04/05/2004
*/