You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vg...@apache.org on 2007/03/16 02:48:04 UTC
svn commit: r518832 -
/xml/xindice/trunk/java/src/org/apache/xindice/core/data/Key.java
Author: vgritsenko
Date: Thu Mar 15 18:48:03 2007
New Revision: 518832
URL: http://svn.apache.org/viewvc?view=rev&rev=518832
Log:
oops
Modified:
xml/xindice/trunk/java/src/org/apache/xindice/core/data/Key.java
Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/data/Key.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/data/Key.java?view=diff&rev=518832&r1=518831&r2=518832
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/core/data/Key.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/core/data/Key.java Thu Mar 15 18:48:03 2007
@@ -54,7 +54,7 @@
hash = (hash << 5) ^ data[i];
hash = hash % 1234567891;
}
- this.hash = Math.abs(hash);
+ this.hash = hash = Math.abs(hash);
}
return hash;
}