Author: toad
Date: 2008-03-29 16:40:51 +0000 (Sat, 29 Mar 2008)
New Revision: 18838
Modified:
trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
indenting
Modified: trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
2008-03-29 16:40:28 UTC (rev 18837)
+++ trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
2008-03-29 16:40:51 UTC (rev 18838)
@@ -544,13 +544,13 @@
} else if(x == 1) {
pendingKeys.put(key, newGets[0]);
} else {
- if(x != gets.length-1) {
- SendableGet[] newNewGets = new
SendableGet[x];
- System.arraycopy(newGets, 0,
newNewGets, 0, x);
- newGets = newNewGets;
+ if(x != gets.length-1) {
+ SendableGet[] newNewGets = new
SendableGet[x];
+ System.arraycopy(newGets, 0,
newNewGets, 0, x);
+ newGets = newNewGets;
+ }
+ pendingKeys.put(key, newGets);
}
- pendingKeys.put(key, newGets);
- }
}
}
if(dropped && offeredKeys != null && !node.peersWantKey(key)) {