mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
interface I {
|
||||
void foo();
|
||||
}
|
||||
class A implements I {
|
||||
@Override
|
||||
public void foo() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
A a;
|
||||
<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user