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