mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
change signature: fix param name hides field (IDEA-98123)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Test {
|
||||
int fieldName;
|
||||
|
||||
void fo<caret>o(int name) {
|
||||
fieldName = name;
|
||||
}
|
||||
}
|
||||
|
||||
class TestImpl extends Test {
|
||||
void foo(int name) {
|
||||
fieldName = name;
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
class Test {
|
||||
int fieldName;
|
||||
|
||||
void foo(int fieldName) {
|
||||
this.fieldName = fieldName;
|
||||
}
|
||||
}
|
||||
|
||||
class TestImpl extends Test {
|
||||
void foo(int fieldName) {
|
||||
this.fieldName = fieldName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user