File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ public open class JobSupport(active: Boolean) : AbstractCoroutineContextElement(
521
521
522
522
// when Job is in Cancelling state, it can only be promoted to Cancelled state with the same cause
523
523
// however, null cause can be replaced with more specific CancellationException (that contains stack trace)
524
- protected fun coerceProposedUpdate (expect : Any , proposedUpdate : Any? ): Any? =
524
+ private fun coerceProposedUpdate (expect : Any , proposedUpdate : Any? ): Any? =
525
525
if (expect is Cancelling && ! correspondinglyCancelled(expect, proposedUpdate))
526
526
expect.cancelled else proposedUpdate
527
527
@@ -596,7 +596,7 @@ public open class JobSupport(active: Boolean) : AbstractCoroutineContextElement(
596
596
// FALSE when not new,
597
597
// TRUE when started
598
598
// RETRY when need to retry
599
- internal fun startInternal (state : Any? ): Int {
599
+ private fun startInternal (state : Any? ): Int {
600
600
when (state) {
601
601
is Empty -> { // EMPTY_X state -- no completion handlers
602
602
if (state.isActive) return FALSE // already active
You can’t perform that action at this time.
0 commit comments