change signature: highest visibility should not return PUBLIC all at once (IDEA-111739)

This commit is contained in:
Anna Kozlova
2013-08-09 13:32:36 +02:00
parent 7cf4be2861
commit b685972a85
4 changed files with 25 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
class Test {
protected void fo<caret>o() {
}
}
class subclass extends Test {
@Override
protected void foo() {
}
}

View File

@@ -0,0 +1,10 @@
class Test {
void foo() {
}
}
class subclass extends Test {
@Override
protected void foo() {
}
}