mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
17 lines
292 B
Java
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;
|
|
}
|
|
}
|