mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 18:20:52 +07:00
8 lines
352 B
Java
8 lines
352 B
Java
class Test {
|
|
private static void <warning descr="Private method 'test(java.lang.Short)' is never used">test</warning>(Short s) { System.out.println("Short:" + s); }
|
|
private static void test(short s) { System.out.println("short:" + s); }
|
|
|
|
public static void main(String ... args) {
|
|
test(true ? new Short((short) 1) : new Byte((byte) 1));
|
|
}
|
|
} |