mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-19 01:09:52 +07:00
varargs: prefer object for primitive varargs only
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class XY {
|
||||
public static void foo(String... x) { }
|
||||
public static void foo(String a, String... x) { }
|
||||
|
||||
public static void main(String[] args) {
|
||||
<ref>foo("a");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user