mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
delegate: don't copy override as it would be added explicitly (IDEA-178893)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user