safe delete: remove @Override annotation when method is made private

This commit is contained in:
Anna Kozlova
2012-05-31 14:15:07 +04:00
parent 9869f90b1a
commit e70f160fe2
4 changed files with 36 additions and 0 deletions
@@ -0,0 +1,14 @@
interface Am {
String getIc<caret>on();
}
class AIIm implements Am {
@Override
public String getIcon() {
return null;
}
public static void main(String[] args) {
new AIIm().getIcon();
}
}
@@ -0,0 +1,12 @@
interface Am {
}
class AIIm implements Am {
private String getIcon() {
return null;
}
public static void main(String[] args) {
new AIIm().getIcon();
}
}