mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
11 lines
207 B
Java
11 lines
207 B
Java
// "Replace with forEach" "true"
|
|
import java.util.List;
|
|
|
|
class Sample {
|
|
public void some(List<String> from, List<Integer> to) {
|
|
for (String key : fr<caret>om) {
|
|
to.add(key.length());
|
|
}
|
|
}
|
|
}
|