summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-02-25 22:33:42 +0000
committermichelou <michelou@epfl.ch>2007-02-25 22:33:42 +0000
commitf55b965036e18fd833deecca0367cc192cf9818e (patch)
tree8c9e58648133d727a9bb9bd2144443ce29ab27a5 /src
parentb31ceb487d7487a64c7d9955e1422bdc939f7998 (diff)
downloadscala-f55b965036e18fd833deecca0367cc192cf9818e.tar.gz
scala-f55b965036e18fd833deecca0367cc192cf9818e.tar.bz2
scala-f55b965036e18fd833deecca0367cc192cf9818e.zip
updated scaladoc comments
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/Annotation.scala3
-rw-r--r--src/library/scala/compat/Platform.scala22
2 files changed, 20 insertions, 5 deletions
diff --git a/src/library/scala/Annotation.scala b/src/library/scala/Annotation.scala
index 1618e6aed7..543e19791e 100644
--- a/src/library/scala/Annotation.scala
+++ b/src/library/scala/Annotation.scala
@@ -15,7 +15,8 @@ package scala
* A base class for annotations. Annotations extending this class directly
* are not preserved for the Scala type checker and are also not stored
* as Java annotations in classfiles. To enable either or both of these,
- * one needs to inherit from <code>StaticAnnotation</code> or/and
+ * one needs to inherit from
+ * <a href="StaticAnnotation.html"><code>StaticAnnotation</code></a> or/and
* <a href="ClassfileAnnotation.html"><code>ClassfileAnnotation</code></a>.
* </p>
*
diff --git a/src/library/scala/compat/Platform.scala b/src/library/scala/compat/Platform.scala
index 11e90a0789..ac099f4d69 100644
--- a/src/library/scala/compat/Platform.scala
+++ b/src/library/scala/compat/Platform.scala
@@ -1,7 +1,7 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
+** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
@@ -9,7 +9,7 @@
// $Id$
-package scala.compat;
+package scala.compat
import java.lang.System
@@ -19,10 +19,23 @@ object Platform {
type StackOverflowError = java.lang.StackOverflowError
+ /**
+ * @param src ..
+ * @param srcPos ..
+ * @param dest ..
+ * @param destPos ..
+ * @param length ..
+ */
def arraycopy(src: AnyRef, srcPos: Int, dest: AnyRef, destPos: Int, length: Int): Unit =
System.arraycopy(src, srcPos, dest, destPos, length)
- /** create array of the same type as arrayInstance with the given length */
+ /** Create array of the same type as arrayInstance with the given
+ * length.
+ *
+ * @param elemClass ..
+ * @param length ..
+ * @return ..
+ */
def createArray(elemClass: Class, length: Int): AnyRef =
java.lang.reflect.Array.newInstance(elemClass, length)
@@ -35,3 +48,4 @@ object Platform {
def collectGarbage: Unit = System.gc()
}
+