Author: toad
Date: 2009-03-24 14:06:49 +0000 (Tue, 24 Mar 2009)
New Revision: 26153
Modified:
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
Log:
Logging
Modified: branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
2009-03-24 13:03:42 UTC (rev 26152)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
2009-03-24 14:06:49 UTC (rev 26153)
@@ -666,6 +666,7 @@
}
public void removeFrom(ObjectContainer container, ClientContext
context) {
+ if(logMINOR) Logger.minor(this, "removeFrom() on "+this);
container.activate(blockFetchContext, 1);
blockFetchContext.removeFrom(container);
if(deleteFetchContext)
@@ -688,7 +689,7 @@
public boolean objectCanUpdate(ObjectContainer container) {
if(hashCode == 0) {
- Logger.error(this, "Trying to update with hash 0 =>
already deleted!", new Exception("error"));
+ Logger.error(this, "Trying to update with hash 0 =>
already deleted! active="+container.ext().isActive(this)+"
stored="+container.ext().isStored(this), new Exception("error"));
return false;
}
return true;
@@ -696,7 +697,7 @@
public boolean objectCanNew(ObjectContainer container) {
if(hashCode == 0) {
- Logger.error(this, "Trying to write with hash 0 =>
already deleted!", new Exception("error"));
+ Logger.error(this, "Trying to write with hash 0 =>
already deleted! active="+container.ext().isActive(this)+"
stored="+container.ext().isStored(this), new Exception("error"));
return false;
}
return true;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs