mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
method refs: correct condition on receiver type substitution (IDEA-129905)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
abstract class Test {
|
||||
public void foo(final ConcurrentMap<String, String> pMap) {
|
||||
map(pMap::get);
|
||||
}
|
||||
|
||||
abstract <R> Stream<R> map(Function<Object, R> mapper);
|
||||
}
|
||||
Reference in New Issue
Block a user