EA-33665 - AIOOBE: IntroduceVariableBase.createArrayCreationExpression

This commit is contained in:
anna
2012-02-14 18:54:07 +01:00
parent a829ba2568
commit 281a692bff
4 changed files with 27 additions and 2 deletions
@@ -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>));
}
}