Skip to content

Commit 9a0d8ac

Browse files
committed
Fixed code style
1 parent c45f5fa commit 9a0d8ac

File tree

1 file changed

+1
-2
lines changed
  • common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental

1 file changed

+1
-2
lines changed

common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental/Dispatched.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ public fun <T> DispatchedTask<T>.dispatch(mode: Int = MODE_CANCELLABLE) {
177177
// dispatch directly using this instance's Runnable implementation
178178
val dispatcher = delegate.dispatcher
179179
val context = delegate.context
180-
if (dispatcher.isDispatchNeeded(context)
181-
) {
180+
if (dispatcher.isDispatchNeeded(context)) {
182181
dispatcher.dispatch(context, this)
183182
return // and that's it -- dispatched via fast-path
184183
} else {

0 commit comments

Comments
 (0)