mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
change signature from usage fix: varargs processing (IDEA-58449)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// "Change signature of 'f(int...)' to 'f(String, int...)'" "true"
|
||||
public class S {
|
||||
void f(String s, int... args) {
|
||||
f("",1,1);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Change signature of 'f(int...)' to 'f(String, int...)'" "true"
|
||||
public class S {
|
||||
void f(String s, int... args) {
|
||||
f("",null);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Change signature of 'f(int...)' to 'f(String, int...)'" "true"
|
||||
public class S {
|
||||
void f(int... args) {
|
||||
f("",1,1)<caret>;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Change signature of 'f(int...)' to 'f(String, int...)'" "true"
|
||||
public class S {
|
||||
void f(int... args) {
|
||||
f("",null)<caret>;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Change signature of 'f(int...)' to 'f(int..., String)'" "false"
|
||||
public class S {
|
||||
void f(int... args) {
|
||||
f(1,1, "")<caret>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user