mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
override/implement annotation settings (IDEA-58379)
annotations are removed by default for both return and parameters, custom OverrideImplementHandlers can provide predefined annotations which must be repeat in overriders, custom annotations can be configured by the user
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Arrays {
|
||||
int[] i;
|
||||
|
||||
@java.lang.Override
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
@@ -13,8 +13,8 @@ class Arrays {
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return i != null ? i.hashCode() : 0;
|
||||
return java.util.Arrays.hashCode(i);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user