Skip to content

Commit a3384a8

Browse files
author
LepilkinaElena
authored
Removed extra non working SharedImmutable annotations (#1892)
1 parent 3bb3e55 commit a3384a8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

kotlinx-coroutines-core/common/src/channels/ConflatedBroadcastChannel.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ public class ConflatedBroadcastChannel<E>() : BroadcastChannel<E> {
4747
private val onCloseHandler = atomic<Any?>(null)
4848

4949
private companion object {
50-
@SharedImmutable
5150
private val CLOSED = Closed(null)
52-
@SharedImmutable
5351
private val UNDEFINED = Symbol("UNDEFINED")
5452
private val INITIAL_STATE = State<Any?>(UNDEFINED, null)
5553
}

kotlinx-coroutines-core/common/src/channels/ConflatedChannel.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ internal open class ConflatedChannel<E> : AbstractChannel<E>() {
3131
private var value: Any? = EMPTY
3232

3333
private companion object {
34-
@SharedImmutable
3534
private val EMPTY = Symbol("EMPTY")
3635
}
3736

0 commit comments

Comments
 (0)