mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
Java: use Objects.hashCode() for single field JDK7+ hashCode() generation (IDEA-177907)
GitOrigin-RevId: 59011b448a85df06ef0b1a5960ab3bf7c77bc32f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9bcb2a6194
commit
cfc675690d
@@ -13,6 +13,6 @@ class A {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(a);
|
||||
return Objects.hashCode(a);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user