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