Skip to content

Commit 752aa8c

Browse files
Apply suggestions from code review
Co-authored-by: dkhalanskyjb <[email protected]>
1 parent 6cd2d38 commit 752aa8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kotlinx-coroutines-core/jvm/src/internal/ResizableAtomicArray.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import kotlinx.coroutines.*
88
import java.util.concurrent.atomic.*
99

1010
/**
11-
* Atomic array with lock-free reads and synchronized modifications. It is logically has unbounded size,
11+
* Atomic array with lock-free reads and synchronized modifications. It logically has an unbounded size,
1212
* is implicitly filled with nulls, and is resized on updates as needed to grow.
1313
*/
1414
internal class ResizableAtomicArray<T>(initialLength: Int) {

kotlinx-coroutines-core/jvm/src/scheduling/CoroutineScheduler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ internal class CoroutineScheduler(
260260
* works properly
261261
*/
262262
@JvmField
263-
val workers = ResizableAtomicArray<Worker?>(corePoolSize + 1)
263+
val workers = ResizableAtomicArray<Worker>(corePoolSize + 1)
264264

265265
/**
266266
* Long describing state of workers in this pool.

0 commit comments

Comments
 (0)