Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2lambdaAlternative/afterThread.java
2017-05-02 20:47:50 +02:00

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();
}
}