From 39badf5956e6b2d56d04abd43b01781f41132fd8 Mon Sep 17 00:00:00 2001 From: Elena Lepilkina Date: Tue, 31 Mar 2020 13:02:20 +0300 Subject: [PATCH] Removed extra non working SharedImmutable annotations --- .../common/src/channels/ConflatedBroadcastChannel.kt | 2 -- kotlinx-coroutines-core/common/src/channels/ConflatedChannel.kt | 1 - 2 files changed, 3 deletions(-) diff --git a/kotlinx-coroutines-core/common/src/channels/ConflatedBroadcastChannel.kt b/kotlinx-coroutines-core/common/src/channels/ConflatedBroadcastChannel.kt index 4990c933ec..c58507ba93 100644 --- a/kotlinx-coroutines-core/common/src/channels/ConflatedBroadcastChannel.kt +++ b/kotlinx-coroutines-core/common/src/channels/ConflatedBroadcastChannel.kt @@ -47,9 +47,7 @@ public class ConflatedBroadcastChannel() : BroadcastChannel { private val onCloseHandler = atomic(null) private companion object { - @SharedImmutable private val CLOSED = Closed(null) - @SharedImmutable private val UNDEFINED = Symbol("UNDEFINED") private val INITIAL_STATE = State(UNDEFINED, null) } diff --git a/kotlinx-coroutines-core/common/src/channels/ConflatedChannel.kt b/kotlinx-coroutines-core/common/src/channels/ConflatedChannel.kt index 399019c3ee..4734766914 100644 --- a/kotlinx-coroutines-core/common/src/channels/ConflatedChannel.kt +++ b/kotlinx-coroutines-core/common/src/channels/ConflatedChannel.kt @@ -31,7 +31,6 @@ internal open class ConflatedChannel : AbstractChannel() { private var value: Any? = EMPTY private companion object { - @SharedImmutable private val EMPTY = Symbol("EMPTY") }