mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
12 lines
266 B
Java
12 lines
266 B
Java
// "Replace with new Thread(() -> {…})" "false"
|
|
public class Main {
|
|
public void testThread() {
|
|
new <caret>Thread() {
|
|
@Override
|
|
public void run() {
|
|
System.out.println("Hello from thread!");
|
|
super.run();
|
|
}
|
|
}.start();
|
|
}
|
|
} |