Author: toad
Date: 2009-04-03 13:47:52 +0000 (Fri, 03 Apr 2009)
New Revision: 26429

Modified:
   trunk/freenet/src/freenet/client/async/MinimalSplitfileBlock.java
Log:
Comment out debugging


Modified: trunk/freenet/src/freenet/client/async/MinimalSplitfileBlock.java
===================================================================
--- trunk/freenet/src/freenet/client/async/MinimalSplitfileBlock.java   
2009-04-03 13:46:43 UTC (rev 26428)
+++ trunk/freenet/src/freenet/client/async/MinimalSplitfileBlock.java   
2009-04-03 13:47:52 UTC (rev 26429)
@@ -30,12 +30,13 @@
        public void setData(Bucket data) {
                this.data = data;
        }
-       
-       public void objectOnDeactivate(ObjectContainer container) {
-               if(Logger.shouldLog(Logger.MINOR, this))
-                       Logger.minor(this, "Deactivating "+this, new 
Exception("debug"));
-       }
 
+       // Useful for debugging duplicate object bugs. But use the new logging 
infrastructure if you reinstate it, please.
+//     public void objectOnDeactivate(ObjectContainer container) {
+//             if(Logger.shouldLog(Logger.MINOR, this))
+//                     Logger.minor(this, "Deactivating "+this, new 
Exception("debug"));
+//     }
+//
        public void storeTo(ObjectContainer container) {
                if(Logger.shouldLog(Logger.MINOR, this))
                        Logger.minor(this, "Storing "+this+" with data: "+data);

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

Reply via email to