mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
[java-intentions] DefineParamsDefaultValueAction: fix cast for vararg type
GitOrigin-RevId: 09705b6a78f4f07c0f62c5642ccd23853b2ba7f8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8bbdae0fa9
commit
cebdcda899
@@ -0,0 +1,10 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
void method() {
|
||||
method((String[]) null);
|
||||
}
|
||||
|
||||
void method(String... s) {}
|
||||
|
||||
void method(Integer i) {}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
void m<caret>ethod(String... s) {}
|
||||
|
||||
void method(Integer i) {}
|
||||
}
|
||||
Reference in New Issue
Block a user