delegate: don't copy override as it would be added explicitly (IDEA-178893)

This commit is contained in:
Anna Kozlova
2017-09-13 13:26:46 +03:00
parent a64a674ebd
commit d031850315
4 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
interface I {
void foo();
}
class A implements I {
@Override
public void foo() {
}
}
class B {
A a;
public void foo() {
a.foo();
}
}