mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
[tests] prepares Java tests for the language level raise
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import java.util.List;
|
||||
|
||||
class Test {
|
||||
|
||||
interface Function<K, V> {
|
||||
V _(K k);
|
||||
V f(K k);
|
||||
}
|
||||
|
||||
static {
|
||||
@@ -18,9 +17,8 @@ class Test {
|
||||
}
|
||||
|
||||
class Test1 {
|
||||
|
||||
interface Function<K> {
|
||||
K _();
|
||||
K f();
|
||||
}
|
||||
|
||||
static {
|
||||
@@ -32,4 +30,4 @@ class Test1 {
|
||||
}
|
||||
|
||||
public static <C> void foo(Function<C> fn) { }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
class Test {
|
||||
interface I {
|
||||
Object _();
|
||||
Object m();
|
||||
}
|
||||
static class Foo<X> {}
|
||||
static class Foo1 {}
|
||||
@@ -9,5 +9,4 @@ class Test {
|
||||
I o1 = Foo1::<String>new;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user