Skip to content

Commit caaed5c

Browse files
committed
Restored star imports
1 parent 0a78839 commit caaed5c

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

kotlinx-coroutines-core/src/test/kotlin/guide/example-channel-03.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
// This file was automatically generated from coroutines-guide.md by Knit tool. Do not edit.
1818
package guide.channel.example03
1919

20-
import kotlinx.coroutines.experimental.CommonPool
21-
import kotlinx.coroutines.experimental.channels.produce
22-
import kotlinx.coroutines.experimental.runBlocking
20+
import kotlinx.coroutines.experimental.*
21+
import kotlinx.coroutines.experimental.channels.*
2322

2423
fun produceSquares() = produce<Int>(CommonPool) {
2524
for (x in 1..5) send(x * x)

kotlinx-coroutines-core/src/test/kotlin/guide/example-channel-04.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
// This file was automatically generated from coroutines-guide.md by Knit tool. Do not edit.
1818
package guide.channel.example04
1919

20-
import kotlinx.coroutines.experimental.CommonPool
21-
import kotlinx.coroutines.experimental.channels.ReceiveChannel
22-
import kotlinx.coroutines.experimental.channels.produce
23-
import kotlinx.coroutines.experimental.runBlocking
20+
import kotlinx.coroutines.experimental.*
21+
import kotlinx.coroutines.experimental.channels.*
2422

2523
fun produceNumbers() = produce<Int>(CommonPool) {
2624
var x = 1

kotlinx-coroutines-core/src/test/kotlin/guide/example-channel-05.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
// This file was automatically generated from coroutines-guide.md by Knit tool. Do not edit.
1818
package guide.channel.example05
1919

20-
import kotlinx.coroutines.experimental.channels.ReceiveChannel
21-
import kotlinx.coroutines.experimental.channels.produce
22-
import kotlinx.coroutines.experimental.runBlocking
20+
import kotlinx.coroutines.experimental.*
21+
import kotlinx.coroutines.experimental.channels.*
2322
import kotlin.coroutines.experimental.CoroutineContext
2423

2524
fun numbersFrom(context: CoroutineContext, start: Int) = produce<Int>(context) {

kotlinx-coroutines-core/src/test/kotlin/guide/example-channel-06.kt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@
1717
// This file was automatically generated from coroutines-guide.md by Knit tool. Do not edit.
1818
package guide.channel.example06
1919

20-
import kotlinx.coroutines.experimental.CommonPool
21-
import kotlinx.coroutines.experimental.channels.ReceiveChannel
22-
import kotlinx.coroutines.experimental.channels.produce
23-
import kotlinx.coroutines.experimental.delay
24-
import kotlinx.coroutines.experimental.launch
25-
import kotlinx.coroutines.experimental.runBlocking
20+
import kotlinx.coroutines.experimental.*
21+
import kotlinx.coroutines.experimental.channels.*
2622

2723
fun produceNumbers() = produce<Int>(CommonPool) {
2824
var x = 1 // start from 1

0 commit comments

Comments
 (0)