find method duplicates: respect varargs mix with constants/params; empty args list (IDEA-56076)

This commit is contained in:
anna
2010-07-07 12:37:50 +04:00
parent 9127e6309a
commit 9d7a066d6c
8 changed files with 100 additions and 3 deletions
@@ -0,0 +1,14 @@
class A {
void bar(int i){
m(i, new String[0]);
m(i, "a");
m(i, "a", "b");
}
void m(int i, String... args) {
method(i, args);
}
void method(int i, String... args) {
}
}