[Mulgara-dev] [Mulgara-svn] r667 - trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed
Life is hard, and then you die
ronald at innovation.ch
Mon Mar 3 20:57:19 UTC 2008
On Mon, Mar 03, 2008 at 07:37:28AM -0800, pag at mulgara.org wrote:
> Author: pag
> Date: 2008-03-03 07:37:28 -0800 (Mon, 03 Mar 2008)
> New Revision: 667
>
> Modified:
> trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed/ForeignBlankNode.java
> Log:
> Fixed the hashcode and text representation of blank nodes from another server
>
> Modified: trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed/ForeignBlankNode.java
[snip]
> @@ -75,7 +75,7 @@
> * @return Hashcode of the nodeid.
> */
> 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?
Cheers,
Ronald
More information about the Mulgara-dev
mailing list