mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
229 B
Java
12 lines
229 B
Java
// "Replace with 'getRemovals().forEach(source::remove)'" "true-preview"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
native List<String> getRemovals();
|
|
|
|
void foo(Set<Integer> source) {
|
|
getRemovals().forEach(source::remove);
|
|
}
|
|
}
|