mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
#IDEA-354810 Fixed (cherry picked from commit d29d3256472dfe368161335732ded20ae95cf34e) IJ-MR-140910 GitOrigin-RevId: 0a9b3cae7aab473f732012ad91b4e67f97ff8697
12 lines
306 B
Kotlin
12 lines
306 B
Kotlin
import java.lang.Runnable
|
|
import java.lang.Thread
|
|
|
|
class ThreadRunTest {
|
|
fun doTest() {
|
|
val runnable = object : Runnable {
|
|
override fun run() {}
|
|
}
|
|
val thread = Thread(runnable)
|
|
thread.<warning descr="Calls to 'run()' should probably be replaced with 'start()'">run</warning>()
|
|
}
|
|
} |