summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/afterMissedBraces.java
blob: 6cfe43ae5bb366020a89149d82933ccdd7a319e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// "Replace with forEach" "true"
import java.util.ArrayList;
import java.util.List;

class Sample {
  List<String> foo = new ArrayList<>();
  String foo(){
      foo.stream().filter(s -> s == null).forEach(s -> {
          int i = 0;
      });
    return null;
  }
}