[freenet-cvs] r20801 - branches/db4o/freenet/src/freenet/support

2008-06-26 Thread [email protected]
Author: toad
Date: 2008-06-26 23:26:46 + (Thu, 26 Jun 2008)
New Revision: 20801

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

Modified: branches/db4o/freenet/src/freenet/support/RandomGrabArray.java
===
--- branches/db4o/freenet/src/freenet/support/RandomGrabArray.java  
2008-06-26 23:14:26 UTC (rev 20800)
+++ branches/db4o/freenet/src/freenet/support/RandomGrabArray.java  
2008-06-26 23:26:46 UTC (rev 20801)
@@ -150,7 +150,8 @@
}
if(valid == 0 && exclude == 0) {
index = 0;
-   container.set(this);
+   if(persistent)
+   
container.set(this);
if(logMINOR) 
Logger.minor(this, "No valid or excluded items");
return null;
} else if(valid == 0) {




[freenet-cvs] r20801 - branches/db4o/freenet/src/freenet/support

2008-06-26 Thread toad
Author: toad
Date: 2008-06-26 23:26:46 + (Thu, 26 Jun 2008)
New Revision: 20801

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

Modified: branches/db4o/freenet/src/freenet/support/RandomGrabArray.java
===
--- branches/db4o/freenet/src/freenet/support/RandomGrabArray.java  
2008-06-26 23:14:26 UTC (rev 20800)
+++ branches/db4o/freenet/src/freenet/support/RandomGrabArray.java  
2008-06-26 23:26:46 UTC (rev 20801)
@@ -150,7 +150,8 @@
}
if(valid == 0 && exclude == 0) {
index = 0;
-   container.set(this);
+   if(persistent)
+   
container.set(this);
if(logMINOR) 
Logger.minor(this, "No valid or excluded items");
return null;
} else if(valid == 0) {

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