mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
14 lines
221 B
Java
14 lines
221 B
Java
// "Adapt 1st argument using 'Collections.singleton()'" "true-preview"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
|
|
void method(Set<Long> set, double val) {
|
|
|
|
}
|
|
|
|
void m(long l) {
|
|
method(Collections.singleton(l), l);
|
|
}
|
|
|
|
} |