blob: 797cab3c9f13086ad7168aad1f0eff57ed686299 [file] [log] [blame]
package redundant_method_override;
public class RedundantMethodOverride extends S {
@Override
void <warning descr="Method 'foo()' is identical to its super method">foo</warning>() {
System.out.println();
}
void bar() {
System.out.println();
}
public void m() {
System.out.println();
}
}
class S {
void foo() {
System.out.println();
}
synchronized void bar() {
System.out.println();
}
void m() {
System.out.println();
}
}