mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 04:50:58 +07:00
11 lines
265 B
Java
11 lines
265 B
Java
// "Replace with new Thread(() -> {…})" "true"
|
|
public class Main {
|
|
public void testThread() {
|
|
// Comment outside
|
|
// Ending comment
|
|
new Thread(() -> {
|
|
// Comment inside
|
|
System.out.println("Hello from thread!");
|
|
}).start();
|
|
}
|
|
} |