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