Author: toad
Date: 2008-08-05 23:06:52 +0000 (Tue, 05 Aug 2008)
New Revision: 21629
Modified:
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
Fix deadlock! We do not need to be synced here.
Modified:
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
2008-08-05 23:03:04 UTC (rev 21628)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
2008-08-05 23:06:52 UTC (rev 21629)
@@ -504,7 +504,7 @@
/** This is after any retries and therefore is either out-of-retries or
fatal
* @param container */
- public synchronized void onFatalFailure(FetchException e, int blockNo,
SplitFileFetcherSubSegment seg, ObjectContainer container, ClientContext
context) {
+ public void onFatalFailure(FetchException e, int blockNo,
SplitFileFetcherSubSegment seg, ObjectContainer container, ClientContext
context) {
if(persistent)
container.activate(this, 1);
logMINOR = Logger.shouldLog(Logger.MINOR, this);