Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/beforeNotEffectivelyFinalVar.java
2014-02-25 22:03:28 +01:00

17 lines
292 B
Java

// "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;
}
}