From a3f5db566c99732f821be1824450092241d1b5d8 Mon Sep 17 00:00:00 2001 From: Abduqodiri Qurbonzoda Date: Mon, 13 Nov 2023 20:47:52 +0200 Subject: [PATCH] Remove KDoc for K/N ArrayList primary constructor The documentation is provided for ArrayList class but describes its primary constructor. Thus, in documentation website it appears as ArrayList documentation. When no KDoc is provided, website generator takes it from other platforms. --- .../native-wasm/src/kotlin/collections/ArrayList.kt | 12 ------------ 1 file changed, 12 deletions(-) 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