mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-18 16:17:00 +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(Object a, String... x) { }
|
||||
|
||||
public static void main(String[] args) {
|
||||
<ref>foo("a");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user