blob: 7e5903fda0ad703c8a170912ce51d74a8b616f3e [file] [log] [blame]
// "Replace with forEach" "false"
import java.util.ArrayList;
import java.util.List;
class Sample {
List<String> foo = new ArrayList<>();
String foo(){
boolean b = true;
for (String s : f<caret>oo) {
if (s == null) {
b = false;
}
}
return null;
}
}