mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
EA-33665 - AIOOBE: IntroduceVariableBase.createArrayCreationExpression
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
public class Foo {
|
||||
public Foo(String ... strs) {}
|
||||
|
||||
public void test1(Foo o, String... foo) {}
|
||||
void bar() {
|
||||
String[] strs = {"", ""};
|
||||
test1(new Foo(strs));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Foo {
|
||||
public Foo(String ... strs) {}
|
||||
|
||||
public void test1(Foo o, String... foo) {}
|
||||
void bar() {
|
||||
test1(new Foo(<selection> "", ""</selection>));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user