diff options
-rw-r--r-- | src/library/scala/collection/mutable/ResizableArray.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/ResizableArray.scala b/src/library/scala/collection/mutable/ResizableArray.scala index 11560d07ee..355fd0152b 100644 --- a/src/library/scala/collection/mutable/ResizableArray.scala +++ b/src/library/scala/collection/mutable/ResizableArray.scala @@ -22,7 +22,7 @@ import Predef._ */ trait ResizableArray[A] extends RandomAccessSeq[A] { - protected val initialSize: Int = 16 + protected def initialSize: Int = 16 protected var array: Array[A] = new Array[A](initialSize) private var size1: Int = 0 protected def size0: Int = size1 |