[Mulgara-dev] [Mulgara-svn] r667 - trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed
Paul Gearon
gearon at ieee.org
Mon Mar 3 22:46:50 UTC 2008
On Mon, Mar 3, 2008 at 2:57 PM, Life is hard, and then you die
<ronald at innovation.ch> wrote:
> On Mon, Mar 03, 2008 at 07:37:28AM -0800, pag at mulgara.org wrote:
> > public int hashCode() {
> > - return serverHashCode ^ (int)(nodeId ^ (nodeId >>>32));
> > + return serverHashCode ^ (int)(nodeId ^ (nodeId >>> 16));
>
> I'm curious: what was wrong with the shift-by-32?
It was me forgetting that nodeId is a 64 bit number.
Paul
More information about the Mulgara-dev
mailing list