diff options
author | Martin Odersky <odersky@gmail.com> | 2006-05-16 10:55:19 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-05-16 10:55:19 +0000 |
commit | bc46a1b53603f1ecfa9061466c36909c51a19a55 (patch) | |
tree | edaa5496f8f85dd1203784f284c231547a7ff410 /src/library | |
parent | 703ba993c311aa8d452608fc94414e2778218fd6 (diff) | |
download | scala-bc46a1b53603f1ecfa9061466c36909c51a19a55.tar.gz scala-bc46a1b53603f1ecfa9061466c36909c51a19a55.tar.bz2 scala-bc46a1b53603f1ecfa9061466c36909c51a19a55.zip |
Fixed bug 593
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/runtime/BoxedObjectArray.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/runtime/BoxedObjectArray.scala b/src/library/scala/runtime/BoxedObjectArray.scala index 6563e12e4b..98a4cbc060 100644 --- a/src/library/scala/runtime/BoxedObjectArray.scala +++ b/src/library/scala/runtime/BoxedObjectArray.scala @@ -31,7 +31,7 @@ final class BoxedObjectArray(val value: Array[Object]) extends BoxedArray { override def hashCode(): Int = value.hashCode(); - private def create(length: int): Array[Object] = { + private def create(length: Int): Array[Object] = { val elemClass = value.getClass().getComponentType() java.lang.reflect.Array.newInstance(elemClass, length).asInstanceOf[Array[Object]] } |