mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 11:47:50 +07:00
14 lines
251 B
Java
14 lines
251 B
Java
// "Replace with forEach" "true"
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
class Sample {
|
|
List<String> foo = new ArrayList<>();
|
|
String foo(){
|
|
for (String s : fo<caret>o) {
|
|
if (s == null) int i = 0;
|
|
}
|
|
return null;
|
|
}
|
|
}
|