commit | c8f9ca308abe963cafa5f676410402fc287cfa5a | [log] [tgz] |
---|---|---|
author | Andrey Mischenko <git@gildor.ru> | Sun Feb 19 21:26:29 2017 +0800 |
committer | Andrey Mischenko <git@gildor.ru> | Sun Feb 19 21:26:29 2017 +0800 |
tree | 5a7fc41975e3c1722580f01b0510f2ef8d70ba49 | |
parent | f3042ac332fb79e7b71303538f6affb142195557 [diff] |
Job.onCompletion deprecation template fixed
diff --git a/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt b/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt index ac587d2..abd34bb 100644 --- a/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt +++ b/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt
@@ -107,7 +107,7 @@ /** * @suppress **Deprecated**: Renamed to `invokeOnCompletion` */ - @Deprecated(message = "Renamed to `invokeOnCompletion`", replaceWith = ReplaceWith("invokeOnCompletion")) + @Deprecated(message = "Renamed to `invokeOnCompletion`", replaceWith = ReplaceWith("invokeOnCompletion(handler)")) public fun onCompletion(handler: CompletionHandler): Registration /**