Author: toad
Date: 2008-08-13 12:12:35 +0000 (Wed, 13 Aug 2008)
New Revision: 21797
Modified:
branches/db4o/freenet/src/freenet/client/async/PersistentChosenBlock.java
Log:
Don't clone keys here, they will be cloned further up.
Modified:
branches/db4o/freenet/src/freenet/client/async/PersistentChosenBlock.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/PersistentChosenBlock.java
2008-08-13 12:10:19 UTC (rev 21796)
+++ branches/db4o/freenet/src/freenet/client/async/PersistentChosenBlock.java
2008-08-13 12:12:35 UTC (rev 21797)
@@ -33,7 +33,7 @@
private LowLevelPutException failedPut;
public PersistentChosenBlock(boolean isInsert, PersistentChosenRequest
parent, Object token, Key key, ClientKey ckey, RequestScheduler sched) {
- super(token, key == null ? null : key.cloneKey(), ckey == null
? null : ckey.cloneKey(), parent.localRequestOnly, parent.cacheLocalRequests,
parent.ignoreStore, sched);
+ super(token, key, ckey, parent.localRequestOnly,
parent.cacheLocalRequests, parent.ignoreStore, sched);
this.isInsert = isInsert;
this.parent = parent;
}