blob: 8c712761fb28a73d3e2528ac509ac8b3b7d21f66 [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);
}
}
}