Author: toad
Date: 2008-08-29 00:20:36 +0000 (Fri, 29 Aug 2008)
New Revision: 22213

Modified:
   branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java
Log:
Hopefully fix IllegalArgumentException


Modified: branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java      
2008-08-29 00:10:43 UTC (rev 22212)
+++ branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java      
2008-08-29 00:20:36 UTC (rev 22213)
@@ -57,6 +57,8 @@
                        }
                } else {
                        rga = (RandomGrabArrayWithClient) 
grabArrays[clientIndex];
+                       if(persistent)
+                               container.activate(rga, 1);
                }
                if(logMINOR)
                        Logger.minor(this, "Adding "+item+" to RGA "+rga+" for 
"+client);


Reply via email to