IDEA-96661 Java completion: don't add {} tail after array completion variant

This commit is contained in:
peter
2013-02-01 17:40:55 +01:00
parent 2ae40f135f
commit 38faaa572a
7 changed files with 51 additions and 26 deletions
@@ -1,5 +1,5 @@
class Super {
void foo(String[] params, int... indices) {
foo(new String[]{<caret>}, 0);
foo(new String[<caret>], 0);
}
}
@@ -4,6 +4,6 @@ class MyException extends RuntimeException {
class XXX {
{
throw new MyException(new String[]{<caret>});
throw new MyException(new String[<caret>]);
}
}