mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-intention] MoveParenthesisFix: remove unnecessary MethodCandidateInfo check
It prevented from finding single correct version if multiple overloads are available GitOrigin-RevId: 8759aaaee8f0b7cce044a3bf447661e5ea30dabe
This commit is contained in:
committed by
intellij-monorepo-bot
parent
68a1ee119f
commit
a7fbd25b9e
+22
@@ -0,0 +1,22 @@
|
||||
// "Fix closing parenthesis placement" "true"
|
||||
public class Example {
|
||||
String foo(String s, boolean b) {
|
||||
return s;
|
||||
}
|
||||
|
||||
String foo(String s, int i) {
|
||||
return s;
|
||||
}
|
||||
|
||||
String bar(String s) {
|
||||
return s;
|
||||
}
|
||||
|
||||
String bar(String s, boolean b1) {
|
||||
return s;
|
||||
}
|
||||
|
||||
void test() {
|
||||
foo(bar("hello", true), true);
|
||||
}
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
// "Fix closing parenthesis placement" "true"
|
||||
public class Example {
|
||||
String foo(String s, boolean b) {
|
||||
return s;
|
||||
}
|
||||
|
||||
String foo(String s, int i) {
|
||||
return s;
|
||||
}
|
||||
|
||||
String bar(String s) {
|
||||
return s;
|
||||
}
|
||||
|
||||
String bar(String s, boolean b1) {
|
||||
return s;
|
||||
}
|
||||
|
||||
void test() {
|
||||
foo(bar("hello"<caret>, true, true));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user