replace method duplicates: qualify with super instead of this when method is located in the base class ( IDEA-21753 )

This commit is contained in:
anna
2010-05-31 18:01:25 +04:00
parent 2c00677a53
commit 40d73b7c32
5 changed files with 52 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
public class a {
void f<caret>oo() {
System.out.println();
}
}
class b extends a {
void foo() {
System.out.println();
}
}

View File

@@ -0,0 +1,11 @@
public class a {
void foo() {
System.out.println();
}
}
class b extends a {
void foo() {
b.super.foo();
}
}