Author: toad
Date: 2009-04-02 14:36:08 +0000 (Thu, 02 Apr 2009)
New Revision: 26348
Modified:
trunk/freenet/src/freenet/client/async/USKInserter.java
Log:
indent
Modified: trunk/freenet/src/freenet/client/async/USKInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKInserter.java 2009-04-02
14:28:49 UTC (rev 26347)
+++ trunk/freenet/src/freenet/client/async/USKInserter.java 2009-04-02
14:36:08 UTC (rev 26348)
@@ -210,32 +210,32 @@
public void onFailure(InsertException e, ClientPutState state,
ObjectContainer container, ClientContext context) {
ClientPutState oldSBI;
synchronized(this) {
- oldSBI = sbi;
- sbi = null;
- if(e.getMode() == InsertException.COLLISION) {
- // Try the next slot
- edition++;
- consecutiveCollisions++;
- if(persistent) container.store(this);
- if(consecutiveCollisions > MAX_TRIED_SLOTS)
- scheduleFetcher(container, context);
- else
- scheduleInsert(container, context);
- } else {
- if(freeData) {
- if(persistent) container.activate(data, 1);
- data.free();
- data.removeFrom(container);
- synchronized(this) {
- data = null;
+ oldSBI = sbi;
+ sbi = null;
+ if(e.getMode() == InsertException.COLLISION) {
+ // Try the next slot
+ edition++;
+ consecutiveCollisions++;
+ if(persistent) container.store(this);
+ if(consecutiveCollisions > MAX_TRIED_SLOTS)
+ scheduleFetcher(container, context);
+ else
+ scheduleInsert(container, context);
+ } else {
+ if(freeData) {
+ if(persistent) container.activate(data,
1);
+ data.free();
+ data.removeFrom(container);
+ synchronized(this) {
+ data = null;
+ }
+ if(persistent) container.store(this);
}
- if(persistent) container.store(this);
+ if(persistent)
+ container.activate(cb, 1);
+ cb.onFailure(e, state, container, context);
}
- if(persistent)
- container.activate(cb, 1);
- cb.onFailure(e, state, container, context);
}
- }
if(state != null && persistent) {
state.removeFrom(container, context);
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs