make static: ensure @Override is cleared from static method (IDEA-146872)

This commit is contained in:
Anna Kozlova
2015-10-27 19:35:21 +01:00
parent e27c654b20
commit 5c8c069685
4 changed files with 29 additions and 0 deletions
@@ -0,0 +1,12 @@
interface A {
void foo();
}
class B implements A {
@Override
public void foo() {
foo(this);
}
public static void foo(B anObject) {}
}