diff --git a/libraries/stdlib/native-wasm/src/kotlin/collections/ArrayList.kt b/libraries/stdlib/native-wasm/src/kotlin/collections/ArrayList.kt index 66bb01fa087..d3b947c858e 100644 --- a/libraries/stdlib/native-wasm/src/kotlin/collections/ArrayList.kt +++ b/libraries/stdlib/native-wasm/src/kotlin/collections/ArrayList.kt @@ -5,18 +5,6 @@ package kotlin.collections -/** - * Creates a new empty [ArrayList] with the specified initial capacity. - * - * Capacity is the maximum number of elements the list is able to store in current backing storage. - * When the list gets full and a new element can't be added, its capacity is expanded, - * which usually leads to creation of a bigger backing storage. - * - * @param initialCapacity the initial capacity of the created list. - * Note that the argument is just a hint for the implementation and can be ignored. - * - * @throws IllegalArgumentException if [initialCapacity] is negative. - */ actual class ArrayList actual constructor(initialCapacity: Int) : MutableList, RandomAccess, AbstractMutableList() { private var backing = arrayOfUninitializedElements(initialCapacity) private var length = 0