Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2lambdaAlternative/afterThread.java
2017-04-19 22:06:58 +02:00

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