Author: toad
Date: 2008-05-23 23:51:33 +0000 (Fri, 23 May 2008)
New Revision: 20088

Modified:
   trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
last commit was wrong, else case is a contradiction

Modified: trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-05-23 23:48:03 UTC (rev 20087)
+++ trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-05-23 23:51:33 UTC (rev 20088)
@@ -545,10 +545,7 @@
                                                        if(complain)
                                                                
Logger.normal(this, "Not found: "+getter+" for "+key+" removing ("+getsLength+" 
getters)");
                                                        return; // not here
-                                               } else {
-                                                       // Found, but too big, 
and not able to shrink.
-                                                       return;
-                                               }
+                                               } // else is a contradiction, 
let it get an ArrayIndexOutOfBounds.
                                        }
                                        if(gets[j] == null || 
gets[j].isCancelled()) continue;
                                        newGets[x++] = gets[j];


Reply via email to