Author: toad
Date: 2009-02-20 20:48:48 +0000 (Fri, 20 Feb 2009)
New Revision: 25750

Modified:
   branches/db4o/freenet/src/freenet/client/FetchException.java
Log:
Doh, forgot FetchException.removeFrom()


Modified: branches/db4o/freenet/src/freenet/client/FetchException.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/FetchException.java        
2009-02-20 20:48:05 UTC (rev 25749)
+++ branches/db4o/freenet/src/freenet/client/FetchException.java        
2009-02-20 20:48:48 UTC (rev 25750)
@@ -3,6 +3,8 @@
  * http://www.gnu.org/ for further details of the GPL. */
 package freenet.client;
 
+import com.db4o.ObjectContainer;
+
 import freenet.keys.FreenetURI;
 import freenet.l10n.L10n;
 import freenet.support.Logger;
@@ -396,4 +398,12 @@
        public void setNotFinalizedSize() {
                this.finalizedSizeAndMimeType = false;
        }
+
+       public void removeFrom(ObjectContainer container) {
+               if(errorCodes != null)
+                       errorCodes.removeFrom(container);
+               if(newURI != null)
+                       newURI.removeFrom(container);
+               container.delete(this);
+       }
 }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to