inline redundant array creation: preserve comments (IDEA-61141 )

This commit is contained in:
anna
2010-11-13 18:13:10 +03:00
parent 83ed87001f
commit d9f9a44bb6
4 changed files with 91 additions and 1 deletions
@@ -0,0 +1,8 @@
class Test {
void foo(String... strs){}
void bar() {
foo(new S<caret>tring[] {
"edwqefwe", //my comment
});
}
}
@@ -0,0 +1,7 @@
class Test {
void foo(String... strs){}
void bar() {
foo("edwqefwe", //my comment
);
}
}