Author: toad
Date: 2009-03-24 16:52:57 +0000 (Tue, 24 Mar 2009)
New Revision: 26163

Modified:
   branches/db4o/freenet/src/freenet/client/async/USKFetcherTag.java
Log:
Commented-out debugging stuff


Modified: branches/db4o/freenet/src/freenet/client/async/USKFetcherTag.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/USKFetcherTag.java   
2009-03-24 16:51:31 UTC (rev 26162)
+++ branches/db4o/freenet/src/freenet/client/async/USKFetcherTag.java   
2009-03-24 16:52:57 UTC (rev 26163)
@@ -213,6 +213,7 @@
        }
 
        private static volatile boolean logMINOR;
+//     private static volatile boolean logDEBUG;
        
        static {
                Logger.registerLogThresholdCallback(new LogThresholdCallback() {
@@ -220,6 +221,7 @@
                        @Override
                        public void shouldUpdate() {
                                logMINOR = Logger.shouldLog(Logger.MINOR, this);
+//                             logDEBUG = Logger.shouldLog(Logger.MINOR, this);
                        }
                });
        }
@@ -239,4 +241,12 @@
                return false;
        }
        
+//     public void objectOnNew(ObjectContainer container) {
+//             if(logDEBUG) Logger.debug(this, "Storing as new: "+this);
+//     }
+//     
+//     public void objectOnUpdate(ObjectContainer container) {
+//             if(logDEBUG) Logger.debug(this, "Updating: "+this, new 
Exception("debug"));
+//     }
+//     
 }

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

Reply via email to