Author: j16sdiz
Date: 2008-08-22 15:02:57 +0000 (Fri, 22 Aug 2008)
New Revision: 22096
Modified:
trunk/freenet/src/freenet/client/async/SimpleManifestPutter.java
Log:
logging
Modified: trunk/freenet/src/freenet/client/async/SimpleManifestPutter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SimpleManifestPutter.java
2008-08-22 14:47:35 UTC (rev 22095)
+++ trunk/freenet/src/freenet/client/async/SimpleManifestPutter.java
2008-08-22 15:02:57 UTC (rev 22096)
@@ -68,8 +68,14 @@
private final Bucket data;
public void start() throws InsertException {
- if ((origSFI == null) || (metadata != null))
+ if (origSFI == null) {
+ Logger.error(this, "origSFI is null on start(),
should be impossible", new Exception("debug"));
return;
+ }
+ if (metadata != null) {
+ Logger.error(this, "metdata=" + metadata + " on
start(), should be impossible", new Exception("debug"));
+ return;
+ }
origSFI.start(null);
origSFI = null;
}