Author: toad
Date: 2008-09-01 18:11:03 +0000 (Mon, 01 Sep 2008)
New Revision: 22308

Modified:
   
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java
Log:
Logging.


Modified: 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java
===================================================================
--- 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java  
    2008-09-01 18:09:56 UTC (rev 22307)
+++ 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java  
    2008-09-01 18:11:03 UTC (rev 22308)
@@ -727,6 +727,10 @@
                }
                if(persistent) {
                        container.deactivate(segment, 1);
+                       if(container.ext().isActive(segment))
+                               Logger.error(this, "SEGMENT STILL ACTIVE: 
"+segment);
+                       else
+                               if(logMINOR) Logger.minor(this, "Deactivated 
segment "+segment);
                }
        }

@@ -858,8 +862,4 @@
        public int objectHash() {
                return super.hashCode();
        }
-       
-       public void objectOnActivate(ObjectContainer container) {
-               Logger.minor(this, "ACTIVATING: "+this, new Exception("debug"));
-       }
 }


Reply via email to