diff options
Diffstat (limited to 'java/src/Ice/ProxyIdentityFacetKey.java')
-rw-r--r-- | java/src/Ice/ProxyIdentityFacetKey.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/src/Ice/ProxyIdentityFacetKey.java b/java/src/Ice/ProxyIdentityFacetKey.java index f23bf093952..a2b859e958d 100644 --- a/java/src/Ice/ProxyIdentityFacetKey.java +++ b/java/src/Ice/ProxyIdentityFacetKey.java @@ -17,6 +17,7 @@ package Ice; * @see ProxyIdentityAndFacetCompare * @see ProxyIdentityCompare * @see ProxyIdentityKey + * **/ public class ProxyIdentityFacetKey { @@ -35,8 +36,9 @@ public class ProxyIdentityFacetKey // _identity = proxy.ice_getIdentity(); _facet = proxy.ice_getFacet(); - int h = _identity.hashCode(); - h = 5 * h + _facet.hashCode(); + int h = 5381; + h = IceInternal.HashUtil.hashAdd(h, _identity); + h = IceInternal.HashUtil.hashAdd(h, _facet); _hashCode = h; } |