Author: toad
Date: 2008-07-24 20:49:14 +0000 (Thu, 24 Jul 2008)
New Revision: 21377

Modified:
   branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
Logging

Modified: 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-07-24 20:44:38 UTC (rev 21376)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-07-24 20:49:14 UTC (rev 21377)
@@ -303,8 +303,11 @@
                        }
                        if(persistent)
                                container.activate(parent, 1);
-                       codec.addToQueue(new FECJob(codec, queue, dataBuckets, 
checkBuckets, CHKBlock.DATA_LENGTH, context.getBucketFactory(persistent), this, 
true, parent.getPriorityClass(), persistent), 
+                       FECJob job = new FECJob(codec, queue, dataBuckets, 
checkBuckets, CHKBlock.DATA_LENGTH, context.getBucketFactory(persistent), this, 
true, parent.getPriorityClass(), persistent);
+                       codec.addToQueue(job, 
                                        queue, container);
+                       if(logMINOR)
+                               Logger.minor(this, "Queued FEC job: "+job);
                        if(persistent)
                                container.deactivate(parent, 1);
                        // Now have all the data blocks (not necessarily all 
the check blocks)


Reply via email to