be194c3460
#KT-8597 Fixed
14 lines
339 B
Plaintext
Vendored
14 lines
339 B
Plaintext
Vendored
// "Replace with 'execute(action)'" "true"
|
|
|
|
class Executor {
|
|
@Deprecated("Use Executor.execute(Runnable) instead.", ReplaceWith("execute(action)"))
|
|
operator fun invoke(action: () -> Unit) {}
|
|
|
|
fun execute(action: () -> Unit) {}
|
|
|
|
fun usage(executor: Executor) {
|
|
execute {
|
|
// do something
|
|
}
|
|
}
|
|
} |