mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
16 lines
273 B
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;
|
|
}
|
|
}
|