diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/Annotation.scala | 3 | ||||
-rw-r--r-- | src/library/scala/compat/Platform.scala | 22 |
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() } + |