Sho SHIMIZU
Committed by Gerrit Code Review

Avoid unnecessary instance creation in hashCode()

Change-Id: I9967020cfa80c616909932181be7e3b6862c3757
......@@ -69,7 +69,7 @@ public class Key {
@Override
public int hashCode() {
return Objects.hash(key);
return key.hashCode();
}
@Override
......@@ -108,7 +108,7 @@ public class Key {
@Override
public int hashCode() {
return Objects.hash(key);
return (int) (key ^ (key >>> 32));
}
@Override
......