Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/beforeIterable.java

16 lines
273 B
Java

// "Replace with forEach" "false"
import java.util.ArrayList;
import java.util.List;
class Sample {
Iterable<String> foo = new ArrayList<>();
String foo(){
for (String s : fo<caret>o) {
if (s == null) {
return s;
}
}
return null;
}
}