mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
EA-41372 - AIOOBE: JavaMethodsConflictResolver.isMoreSpecific
(cherry picked from commit 6f6a46ec1e26294e4a478fc6dee158123ccba406)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
interface Func<TIn, TOut>{
|
||||
TOut run(TIn in);
|
||||
}
|
||||
|
||||
|
||||
class Main {
|
||||
|
||||
public static void main(final String[] args) {
|
||||
Func<Integer, String> func = Integer::toString;
|
||||
System.out.println(func.run(6));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user