Author: toad
Date: 2008-12-17 19:37:47 +0000 (Wed, 17 Dec 2008)
New Revision: 24466

Modified:
   
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java
Log:
Delete the Integer here


Modified: 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java
===================================================================
--- 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java  
    2008-12-17 19:36:15 UTC (rev 24465)
+++ 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java  
    2008-12-17 19:37:47 UTC (rev 24466)
@@ -219,9 +219,12 @@
                                        else
                                                Logger.error(this, "Key is null 
for block "+ret+" for "+this+" in hasValidKeys");
                                        blockNums.remove(x);
-                                       if(persistent && !hasSet) {
-                                               hasSet = true;
-                                               container.store(blockNums);
+                                       if(persistent) {
+                                               container.delete(ret);
+                                               if(!hasSet) {
+                                                       hasSet = true;
+                                                       
container.store(blockNums);
+                                               }
                                        }
                                        continue;
                                }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to