eaba0042d306676aef91397e76df87b50c240a89
[idea/community.git] / java / java-tests / testData / codeInsight / daemonCodeAnalyzer / quickFix / anonymous2lambdaAlternative / afterThread.java
1 // "Replace anonymous class with constructor accepting lambda" "true"
2 public class Main {
3   public void testThread() {
4       // Comment outside
5 // Ending comment
6       new Thread(() -> {
7         // Comment inside
8         System.out.println("Hello from thread!");
9       }).start();
10   }
11 }