mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
make static: ensure @Override is cleared from static method (IDEA-146872)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
interface A {
|
||||
void foo();
|
||||
}
|
||||
|
||||
class B implements A {
|
||||
@Override
|
||||
public void foo() {
|
||||
foo(this);
|
||||
}
|
||||
|
||||
public static void foo(B anObject) {}
|
||||
}
|
||||
Reference in New Issue
Block a user