commit | 80a29477d8d722b9f4e6af6bd82c289451615096 | [log] [tgz] |
---|---|---|
author | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | Tue Apr 17 16:02:02 2018 +0300 |
committer | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | Tue Apr 17 16:02:02 2018 +0300 |
tree | 20a1bbc467a3dadd03442105d218d71679f97b72 | |
parent | 4aa18aa81a2a9ccee3d7f37ad094212b373b4f16 [diff] [blame] |
Make deprecated API hidden, replace deprecated API with new one
diff --git a/core/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Future.kt b/core/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Future.kt index 6909b99..3490d14 100644 --- a/core/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Future.kt +++ b/core/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Future.kt
@@ -41,7 +41,7 @@ @Deprecated( message = "Disposable handlers on regular completion are no longer supported", replaceWith = ReplaceWith("cancelFutureOnCancellation(future)"), - level = DeprecationLevel.WARNING) + level = DeprecationLevel.HIDDEN) public fun CancellableContinuation<*>.cancelFutureOnCompletion(future: Future<*>): DisposableHandle { cancelFutureOnCancellation(future) return NonDisposableHandle