[freenet-cvs] r18296 - trunk/freenet/src/freenet/client/async

toad at freenetproject.org toad at freenetproject.org
Sat Mar 1 20:08:33 UTC 2008


Author: toad
Date: 2008-03-01 20:08:33 +0000 (Sat, 01 Mar 2008)
New Revision: 18296

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-01 20:07:57 UTC (rev 18295)
+++ trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java	2008-03-01 20:08:33 UTC (rev 18296)
@@ -188,7 +188,7 @@
 			offeredKeys = null;
 		}
 		if(!forInserts)
-		cooldownQueue = new RequestCooldownQueue(COOLDOWN_PERIOD);
+			cooldownQueue = new RequestCooldownQueue(COOLDOWN_PERIOD);
 		else
 			cooldownQueue = null;
 		logMINOR = Logger.shouldLog(Logger.MINOR, this);
@@ -533,7 +533,7 @@
 				offeredKeys[i].remove(key);
 		}
 		if(cooldownQueue != null)
-		cooldownQueue.removeKey(key, getter.getCooldownWakeupByKey(key));
+			cooldownQueue.removeKey(key, getter.getCooldownWakeupByKey(key));
 	}
 	
 	/**
@@ -604,12 +604,12 @@
 		if(o instanceof SendableGet) {
 			gets = new SendableGet[] { (SendableGet) o };
 			if(cooldownQueue != null)
-			cooldownQueue.removeKey(key, ((SendableGet)o).getCooldownWakeupByKey(key));
+				cooldownQueue.removeKey(key, ((SendableGet)o).getCooldownWakeupByKey(key));
 		} else {
 			gets = (SendableGet[]) o;
 			if(cooldownQueue != null)
-			for(int i=0;i<gets.length;i++)
-				cooldownQueue.removeKey(key, gets[i].getCooldownWakeupByKey(key));
+				for(int i=0;i<gets.length;i++)
+					cooldownQueue.removeKey(key, gets[i].getCooldownWakeupByKey(key));
 				
 		}
 		if(gets == null) return;




More information about the cvs mailing list