mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 06:44:20 +07:00
Also, new tests GitOrigin-RevId: 5dbb45fc400ba8de0a360e05a4eaf0aee07e0e83
20 lines
523 B
Java
20 lines
523 B
Java
|
|
public class IDEADEV15215 {
|
|
|
|
public static void main(String[] args) {
|
|
foo(new byte[]{ 1, 2, 3 });
|
|
}
|
|
|
|
private static void foo(byte... bytes) {
|
|
System.out.println("Test.foo(byte...)");
|
|
for (int i = 0; i < bytes.length; i++) {
|
|
System.out.println("bytes[" + i + "] = " + bytes[i]);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static void extra(String... args) {
|
|
extra(<warning descr="Redundant array creation for calling varargs method">new String[]</warning>{"vvv","aaa"});
|
|
}
|
|
} |