luetzkendorf 2004/07/26 05:37:50
Modified: src/stores/org/apache/slide/store/mem VersionedUriKey.java
Log:
hasCode method changed
Revision Changes Path
1.2 +4 -4
jakarta-slide/src/stores/org/apache/slide/store/mem/VersionedUriKey.java
Index: VersionedUriKey.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/stores/org/apache/slide/store/mem/VersionedUriKey.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- VersionedUriKey.java 21 Jul 2004 17:36:29 -0000 1.1
+++ VersionedUriKey.java 26 Jul 2004 12:37:50 -0000 1.2
@@ -50,7 +50,7 @@
}
public int hashCode()
{
- return (uri.hashCode() + version.hashCode());
+ return (uri.hashCode() ^ version.hashCode());
}
public String toString()
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]