mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
IDEA-68684 Extra parenthesis and semicolon in inserted by smart completion of array type initializer in some cases
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class Super {
|
||||
void foo(String[] params, int... indices) {
|
||||
foo(new String[<caret>], 0);
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Super {
|
||||
void foo(String[] params, int... indices) {
|
||||
foo(new <caret>, 0);
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -2,7 +2,7 @@ class Foooo {
|
||||
int bar(int a, Object... varargs) {}
|
||||
|
||||
int foo() {
|
||||
bar(hashCode())<caret>;
|
||||
bar(hashCode()<caret>);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user