mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-23 14:31:48 +07:00
95a12db895
GitOrigin-RevId: 0c9d42259d6a5169c449b536aa4e7b982446b10a
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);
|
|
}
|
|
}
|
|
}
|