mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-14 11:59:00 +07:00
don't override protected methods from Object in interfaces (IDEA-140804)
This commit is contained in:
+5
@@ -16,4 +16,9 @@ class MyCloneable2 {
|
||||
public Object clone() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
interface MyFinalizable {
|
||||
<error descr="Method does not override method from its superclass">@Override</error> void finalize();
|
||||
@Override int hashCode();
|
||||
}
|
||||
Reference in New Issue
Block a user