mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
[tests] prepares Java tests for the language level raise
This commit is contained in:
@@ -3,19 +3,19 @@ class MyTest<E> {
|
||||
}
|
||||
|
||||
interface I<T> {
|
||||
MyTest<T> _(T t);
|
||||
MyTest<T> m(T t);
|
||||
}
|
||||
|
||||
static <Y> void bar(Y arg, I<Y> i) {
|
||||
i._(arg);
|
||||
i.m(arg);
|
||||
}
|
||||
|
||||
static <Y> void bar(I<Y> i, Y arg) {
|
||||
i._(arg);
|
||||
i.m(arg);
|
||||
}
|
||||
|
||||
static <Y> void bar(I<Y> i) {
|
||||
i._(null);
|
||||
i.m(null);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user