mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-22 16:19:35 +07:00
4c568edfc9
IDEA-182694 Inefficient uses of Collection/List.remove
8 lines
143 B
Java
8 lines
143 B
Java
// "Use removal by object" "true"
|
|
import java.util.List;
|
|
|
|
class Test {
|
|
void test(List<String> list, String key) {
|
|
list.remove(key);
|
|
}
|
|
} |