Author: toad
Date: 2009-03-17 23:27:18 +0000 (Tue, 17 Mar 2009)
New Revision: 26077
Modified:
branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
Log:
More excessive logging
Modified: branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
2009-03-17 23:24:40 UTC (rev 26076)
+++ branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
2009-03-17 23:27:18 UTC (rev 26077)
@@ -978,6 +978,20 @@
SingleFileInserter.this.removeFrom(container, context);
}
+ public boolean objectCanUpdate(ObjectContainer container) {
+ if(logMINOR)
+ Logger.minor(this, "objectCanUpdate() on
"+this, new Exception("debug"));
+ return true;
+ }
+
+ public boolean objectCanNew(ObjectContainer container) {
+ if(finished)
+ Logger.error(this, "objectCanNew but finished
on "+this, new Exception("error"));
+ else if(logMINOR)
+ Logger.minor(this, "objectCanNew() on "+this,
new Exception("debug"));
+ return true;
+ }
+
}
public BaseClientPutter getParent() {
@@ -1045,4 +1059,17 @@
// cb removes itself
container.delete(this);
}
+
+ public boolean objectCanUpdate(ObjectContainer container) {
+ if(logMINOR)
+ Logger.minor(this, "objectCanUpdate() on "+this, new
Exception("debug"));
+ return true;
+ }
+
+ public boolean objectCanNew(ObjectContainer container) {
+ if(logMINOR)
+ Logger.minor(this, "objectCanNew() on "+this, new
Exception("debug"));
+ return true;
+ }
+
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs