Author: toad
Date: 2008-04-02 01:34:57 +0000 (Wed, 02 Apr 2008)
New Revision: 18907

Modified:
   trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
indenting

Modified: trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-04-02 01:34:21 UTC (rev 18906)
+++ trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-04-02 01:34:57 UTC (rev 18907)
@@ -393,12 +393,12 @@
                                else {
                                        sub = getSubSegment(tries);
                                        if(tries % 
ClientRequestScheduler.COOLDOWN_RETRIES == 0) {
-                                       long now = System.currentTimeMillis();
-                                       if(dataCooldownTimes[blockNo] > now)
-                                               Logger.error(this, "Already on 
the cooldown queue! for "+this+" data block no "+blockNo, new 
Exception("error"));
-                                       else
-                                       dataCooldownTimes[blockNo] = 
sched.queueCooldown(key, sub);
-                                       cooldown = true;
+                                               long now = 
System.currentTimeMillis();
+                                               if(dataCooldownTimes[blockNo] > 
now)
+                                                       Logger.error(this, 
"Already on the cooldown queue! for "+this+" data block no "+blockNo, new 
Exception("error"));
+                                               else
+                                                       
dataCooldownTimes[blockNo] = sched.queueCooldown(key, sub);
+                                               cooldown = true;
                                        }
                                }
                        } else {
@@ -409,12 +409,12 @@
                                else {
                                        sub = getSubSegment(tries);
                                        if(tries % 
ClientRequestScheduler.COOLDOWN_RETRIES == 0) {
-                                       long now = System.currentTimeMillis();
-                                       if(checkCooldownTimes[checkNo] > now)
-                                               Logger.error(this, "Already on 
the cooldown queue! for "+this+" check block no "+blockNo, new 
Exception("error"));
-                                       else
-                                       checkCooldownTimes[checkNo] = 
sched.queueCooldown(key, sub);
-                                       cooldown = true;
+                                               long now = 
System.currentTimeMillis();
+                                               if(checkCooldownTimes[checkNo] 
> now)
+                                                       Logger.error(this, 
"Already on the cooldown queue! for "+this+" check block no "+blockNo, new 
Exception("error"));
+                                               else
+                                                       
checkCooldownTimes[checkNo] = sched.queueCooldown(key, sub);
+                                               cooldown = true;
                                        }
                                }
                        }


Reply via email to