[freenet-cvs] r20953 - branches/db4o/freenet/src/freenet/client/async

toad at freenetproject.org toad at freenetproject.org
Thu Jul 3 22:49:34 UTC 2008


Author: toad
Date: 2008-07-03 22:49:34 +0000 (Thu, 03 Jul 2008)
New Revision: 20953

Modified:
   branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java
Log:
Fix hashCode

Modified: branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java	2008-07-03 07:36:32 UTC (rev 20952)
+++ branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java	2008-07-03 22:49:34 UTC (rev 20953)
@@ -28,7 +28,7 @@
 	
 	PersistentChosenRequest(ClientRequestSchedulerCore core, SendableRequest req, Object tok, Key key, ClientKey ckey, short prio) {
 		super(req, tok, key, ckey, prio);
-		hashCode = core.hashCode() ^ req.hashCode() ^ key.hashCode() ^ ckey.hashCode();
+		hashCode = core.hashCode() ^ req.hashCode() ^ key.hashCode() ^ ckey.hashCode() ^ tok.hashCode();
 		this.core = core;
 	}
 	




More information about the cvs mailing list