Fix typo in stdlib KDocs, behavoir -> behavior
This commit is contained in:
committed by
Space Team
parent
c9d8ecc599
commit
e4a8fc01c3
@@ -18,7 +18,7 @@ public expect abstract class AbstractMutableList<E> : MutableList<E> {
|
||||
* or otherwise changes it in a way that iterations in progress may return incorrect results.
|
||||
*
|
||||
* This value can be used by iterators returned by [iterator] and [listIterator]
|
||||
* to provide fail-fast behavoir when a concurrent modification is detected during iteration.
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
// TODO: Should be @SinceKotlin("2.0"), see KT-64904
|
||||
|
||||
@@ -25,7 +25,7 @@ public actual abstract class AbstractMutableList<E> protected actual constructor
|
||||
* or otherwise changes it in a way that iterations in progress may return incorrect results.
|
||||
*
|
||||
* This value can be used by iterators returned by [iterator] and [listIterator]
|
||||
* to provide fail-fast behavoir when a concurrent modification is detected during iteration.
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
protected actual var modCount: Int = 0
|
||||
|
||||
@@ -33,7 +33,7 @@ internal class InternalHashMap<K, V> private constructor(
|
||||
* or otherwise changes it in a way that iterations in progress may return incorrect results.
|
||||
*
|
||||
* This value can be used by iterators of the [keys], [values] and [entries] views
|
||||
* to provide fail-fast behavoir when a concurrent modification is detected during iteration.
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
private var modCount: Int = 0
|
||||
|
||||
@@ -84,7 +84,7 @@ internal open class InternalStringMap<K, V> : InternalMap<K, V> {
|
||||
* or otherwise changes it in a way that iterations in progress may return incorrect results.
|
||||
*
|
||||
* This value can be used by iterators of the [keys], [values] and [entries] views
|
||||
* to provide fail-fast behavoir when a concurrent modification is detected during iteration.
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
internal var modCount: Int = 0
|
||||
|
||||
@@ -32,7 +32,7 @@ internal class MapBuilder<K, V> private constructor(
|
||||
* or otherwise changes it in a way that iterations in progress may return incorrect results.
|
||||
*
|
||||
* This value can be used by iterators of the [keys], [values] and [entries] views
|
||||
* to provide fail-fast behavoir when a concurrent modification is detected during iteration.
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
private var modCount: Int = 0
|
||||
|
||||
@@ -25,7 +25,7 @@ public actual abstract class AbstractMutableList<E> protected actual constructor
|
||||
* or otherwise changes it in a way that iterations in progress may return incorrect results.
|
||||
*
|
||||
* This value can be used by iterators returned by [iterator] and [listIterator]
|
||||
* to provide fail-fast behavoir when a concurrent modification is detected during iteration.
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
protected actual var modCount: Int = 0
|
||||
|
||||
@@ -32,7 +32,7 @@ public actual class HashMap<K, V> private constructor(
|
||||
* or otherwise changes it in a way that iterations in progress may return incorrect results.
|
||||
*
|
||||
* This value can be used by iterators of the [keys], [values] and [entries] views
|
||||
* to provide fail-fast behavoir when a concurrent modification is detected during iteration.
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
private var modCount: Int = 0
|
||||
|
||||
Reference in New Issue
Block a user