mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 12:14:37 +07:00
IDEA-196951 Delete empty parenthesis when replacing a method call with a (constant) field reference
GitOrigin-RevId: 190dd5c4af0a50ce3019fd9bbefd386865e7e3f9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9dc70cc524
commit
e3367716c0
+10
@@ -0,0 +1,10 @@
|
||||
public class Util {
|
||||
int goo(C c) {
|
||||
return c.VA<caret>getValue();
|
||||
}
|
||||
}
|
||||
|
||||
class C {
|
||||
static final int VALUE = 2;
|
||||
static int getValue() {}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public class Util {
|
||||
int goo(C c) {
|
||||
return c.VALUE<caret>;
|
||||
}
|
||||
}
|
||||
|
||||
class C {
|
||||
static final int VALUE = 2;
|
||||
static int getValue() {}
|
||||
}
|
||||
Reference in New Issue
Block a user