File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
kotlinx-coroutines-core/src/test/kotlin/examples
kotlinx-coroutines-javafx/src/test/kotlin/examples
kotlinx-coroutines-jdk8/src/test/kotlin/examples
kotlinx-coroutines-nio/src/test/kotlin/examples
kotlinx-coroutines-swing/src/test/kotlin/examples Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ package examples
19
19
import java.text.SimpleDateFormat
20
20
import java.util.*
21
21
22
- fun log (msg : String ) = println (" ${SimpleDateFormat (" YYYYMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
22
+ fun log (msg : String ) = println (" ${SimpleDateFormat (" yyyyMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ fun main(args: Array<String>) {
38
38
Application .launch(FxTestApp ::class .java, * args)
39
39
}
40
40
41
- fun log (msg : String ) = println (" ${SimpleDateFormat (" YYYYMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
41
+ fun log (msg : String ) = println (" ${SimpleDateFormat (" yyyyMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
42
42
43
43
class FxTestApp : Application () {
44
44
val buttons = FlowPane ().apply {
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ package examples
19
19
import java.text.SimpleDateFormat
20
20
import java.util.*
21
21
22
- fun log (msg : String ) = println (" ${SimpleDateFormat (" YYYYMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
22
+ fun log (msg : String ) = println (" ${SimpleDateFormat (" yyyyMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ package examples
19
19
import java.text.SimpleDateFormat
20
20
import java.util.*
21
21
22
- fun log (msg : String ) = println (" ${SimpleDateFormat (" YYYYMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
22
+ fun log (msg : String ) = println (" ${SimpleDateFormat (" yyyyMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import java.util.*
23
23
import java.util.concurrent.ForkJoinPool
24
24
import kotlin.coroutines.experimental.suspendCoroutine
25
25
26
- fun log (msg : String ) = println (" ${SimpleDateFormat (" YYYYMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
26
+ fun log (msg : String ) = println (" ${SimpleDateFormat (" yyyyMMdd -HHmmss.sss" ).format(Date ())} [${Thread .currentThread().name} ] $msg " )
27
27
28
28
suspend fun makeRequest (): String {
29
29
log(" Making request..." )
You can’t perform that action at this time.
0 commit comments