Author: toad
Date: 2008-08-01 18:54:08 +0000 (Fri, 01 Aug 2008)
New Revision: 21566

Modified:
   branches/db4o/freenet/src/freenet/support/RandomGrabArray.java
Log:
trivial

Modified: branches/db4o/freenet/src/freenet/support/RandomGrabArray.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/RandomGrabArray.java      
2008-08-01 18:47:59 UTC (rev 21565)
+++ branches/db4o/freenet/src/freenet/support/RandomGrabArray.java      
2008-08-01 18:54:08 UTC (rev 21566)
@@ -90,10 +90,9 @@
                                                                changedMe = 
true;
                                                                // We are doing 
compaction here. We don't need to swap with the end; we write valid ones to the 
target location.
                                                                reqs[i] = null;
-                                                               
RandomGrabArrayItem oldItem = item;
                                                                
item.setParentGrabArray(null, container);
                                                                if(persistent)
-                                                                       
container.deactivate(oldItem, 1);
+                                                                       
container.deactivate(item, 1);
                                                                continue;
                                                        }
                                                        if(i != target) {


Reply via email to