mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 11:36:59 +07:00
- update language levels partially - fix tests (cherry picked from commit 8d7b599772eda8dfd999bee9f816ec2609be4adb) (cherry picked from commit 98a507ba78b8fc496651b5800fc3936c9c87b689) IJ-MR-169535 GitOrigin-RevId: 898e8b4dfc303eb60da6cfff5d756304c461c424
15 lines
429 B
Java
15 lines
429 B
Java
class Test {
|
|
private static <T> void test(Class<T> cls, Runnable... objs) {
|
|
System.out.println(cls);
|
|
System.out.println(objs);
|
|
}
|
|
|
|
private static <K> void <warning descr="Private method 'test(K, java.lang.Runnable...)' is never used">test</warning>(K obj, Runnable... objs) {
|
|
System.out.println(obj);
|
|
System.out.println(objs);
|
|
}
|
|
|
|
public static void main() {
|
|
test(String.class, new Runnable[1]);
|
|
}
|
|
} |