mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
260 B
Java
12 lines
260 B
Java
// "Fix all 'Call to 'set.removeAll(list)' may work slowly' problems in file" "false"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
void foo(Set<Integer> source, List<Integer> removals) {
|
|
if (source.isEmpty()) {
|
|
source.removeAll<caret>(removals);
|
|
}
|
|
}
|
|
}
|