mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 19:02:04 +07:00
GitOrigin-RevId: 088ce28eb3b8cbbce9aa1cfc1b073fef2dab12ce
10 lines
263 B
Java
10 lines
263 B
Java
// "Replace loop with 'List.replaceAll()'" "false"
|
|
import java.util.List;
|
|
|
|
class Main {
|
|
void modifyStrings(List<String> strings1, List<String> strings2) {
|
|
for<caret> (int i = 0; i < strings1.size(); i++) {
|
|
strings1.set(i, strings2.get(i));
|
|
}
|
|
}
|
|
} |