blob: e6a5527f716c6e7a0fdae2304fc0ab4be74469c9 [file] [log] [blame]
// "Replace with forEach" "true"
import java.util.ArrayList;
import java.util.List;
class Sample {
List<String> foo = new ArrayList<>();
String foo(){
((List<String>) foo).stream().filter(s -> s == null).forEach(System.out::println);
return null;
}
}