Author: toad
Date: 2008-05-23 17:03:47 +0000 (Fri, 23 May 2008)
New Revision: 20074
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerBase.java
Log:
Fix a rare ArrayIndexOutOfBoundsException if removing a client that wasn't
there for a key
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerBase.java
===================================================================
---
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerBase.java
2008-05-23 16:51:45 UTC (rev 20073)
+++
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerBase.java
2008-05-23 17:03:47 UTC (rev 20074)
@@ -143,7 +143,7 @@
found = true;
continue;
}
- if(j == newGets.length) {
+ if(x == newGets.length) {
if(!found) {
if(complain)
Logger.normal(this, "Not found: "+getter+" for "+key+" removing ("+getsLength+"
getters)");