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