mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
11 lines
298 B
Java
11 lines
298 B
Java
// "Replace iteration with bulk 'List.replaceAll' call" "false"
|
|
import java.util.*;
|
|
|
|
class Main {
|
|
void modifyStrings(List<String> strings) {
|
|
for (int i = 0; i < strings.size(); i++) {
|
|
if (Math.random() > 0.5) break;
|
|
strings.set<caret>(i, strings.get(i).toLowerCase());
|
|
}
|
|
}
|
|
} |