Author: toad
Date: 2008-07-28 23:50:25 +0000 (Mon, 28 Jul 2008)
New Revision: 21460

Modified:
   branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java
Log:
Back compat hack/more paranoia, depends on your pov

Modified: branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java        
2008-07-28 23:43:50 UTC (rev 21459)
+++ branches/db4o/freenet/src/freenet/client/async/InsertCompressor.java        
2008-07-28 23:50:25 UTC (rev 21460)
@@ -62,6 +62,9 @@
                        } else if(inserter.started()) {
                                Logger.error(this, "Inserter started already, 
but we are about to attempt to compress the data!");
                                return; // Already started, no point ... but 
this really shouldn't happen.
+                       } else {
+                               Logger.error(this, "Original data was deleted 
but inserter neither deleted nor cancelled nor missing!");
+                               return;
                        }
                }
                synchronized(this) {


Reply via email to