svn commit: r518832 - /xml/xindice/trunk/java/src/org/apache/xindice/core/data/Key.java

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
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;
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.