mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 23:21:09 +07:00
GitOrigin-RevId: 088ce28eb3b8cbbce9aa1cfc1b073fef2dab12ce
8 lines
175 B
Java
8 lines
175 B
Java
// "Replace loop with 'List.replaceAll()'" "true"
|
|
import java.util.List;
|
|
|
|
class Main {
|
|
void modifyStrings(List<String> strings) {
|
|
strings.replaceAll(s -> s + s);
|
|
}
|
|
} |