r27139 - trunk/freenet/src/freenet/client/async

[email protected] Tue, 21 Apr 2009 09:16:10 +0000
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: j16sdiz
Date: 2009-04-21 09:16:09 +0000 (Tue, 21 Apr 2009)
New Revision: 27139

Modified:
   trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java
Log:
indent

Modified: trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java
===================================================================
--- trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java	2009-04-21 09:15:32 UTC (rev 27138)
+++ trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java	2009-04-21 09:16:09 UTC (rev 27139)
@@ -286,15 +286,15 @@
 	}
 
 	public synchronized void pruneDuplicates(ClientRequestScheduler sched) {
-				for(int i=0;i<blocksNotStarted.size();i++) {
-					PersistentChosenBlock block = blocksNotStarted.get(i);
-					Key key = block.key;
-					if(key == null) continue;
-					if(sched.hasFetchingKey(key)) {
-						blocksNotStarted.remove(i);
-						if(logMINOR) Logger.minor(this, "Pruned duplicate "+block+" from "+this);
-						i--;
-					}
-				}
+		for(int i=0;i<blocksNotStarted.size();i++) {
+			PersistentChosenBlock block = blocksNotStarted.get(i);
+			Key key = block.key;
+			if(key == null) continue;
+			if(sched.hasFetchingKey(key)) {
+				blocksNotStarted.remove(i);
+				if(logMINOR) Logger.minor(this, "Pruned duplicate "+block+" from "+this);
+				i--;
+			}
+		}
 	}
 }