mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
11 lines
275 B
Java
11 lines
275 B
Java
// "Replace with new Thread() with lambda argument" "true"
|
|
public class Main {
|
|
public void testThread() {
|
|
// Comment outside
|
|
// Ending comment
|
|
new Thread(() -> {
|
|
// Comment inside
|
|
System.out.println("Hello from thread!");
|
|
}).start();
|
|
}
|
|
} |