Author: toad
Date: 2008-09-06 18:56:20 +0000 (Sat, 06 Sep 2008)
New Revision: 22503

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


Modified: trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-09-06 17:43:13 UTC (rev 22502)
+++ trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-09-06 18:56:20 UTC (rev 22503)
@@ -338,7 +338,7 @@
        }

        /** This is after any retries and therefore is either out-of-retries or 
fatal */
-       public synchronized void onFatalFailure(FetchException e, int blockNo, 
SplitFileFetcherSubSegment seg) {
+       public void onFatalFailure(FetchException e, int blockNo, 
SplitFileFetcherSubSegment seg) {
                logMINOR = Logger.shouldLog(Logger.MINOR, this);
                if(logMINOR) Logger.minor(this, "Permanently failed block: 
"+blockNo+" on "+this+" : "+e, e);
                boolean allFailed;


Reply via email to