blob: 12a4d0e032150ecffc2db22c8d395ad02bf834d9 [file] [log] [blame]
// "Replace with forEach" "true"
import java.util.ArrayList;
import java.util.List;
class Sample {
List<String> foo = new ArrayList<>();
String foo(){
for (String s : (List<String>)fo<caret>o) {
if (s == null) {
System.out.println(s);
}
}
return null;
}
}