mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
introduce field: resolve conflicts with constructor params (IDEA-91633)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
String foo = "foo";
|
||||
public final String fooBar;
|
||||
|
||||
public Foo(int foo) {
|
||||
fooBar = this.foo.subString(1);
|
||||
}
|
||||
|
||||
void bar() {
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Foo {
|
||||
String foo = "foo";
|
||||
public Foo(int foo) {
|
||||
}
|
||||
|
||||
void bar() {
|
||||
String fo<caret>oBar = foo.subString(1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user