Author: toad
Date: 2009-01-30 23:23:20 +0000 (Fri, 30 Jan 2009)
New Revision: 25418

Modified:
   branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
Log:
Activation depth problems


Modified: 
branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java    
2009-01-30 23:22:43 UTC (rev 25417)
+++ branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java    
2009-01-30 23:23:20 UTC (rev 25418)
@@ -858,7 +858,7 @@
                        } else if(o instanceof HashMap) {
                                HashMap<String,Object> subMap = new 
HashMap<String,Object>();
                                if(persistent())
-                                       container.activate(o, 1);
+                                       container.activate(o, 2); // Depth 1 
doesn't load the elements...
                                namesToByteArrays.put(name, subMap);
                                if(logMINOR)
                                        Logger.minor(this, "Putting hashmap 
into base metadata: "+name+" size "+((HashMap)o).size()+" active = "+container 
== null ? "null" : Boolean.toString(container.ext().isActive(o)));

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

Reply via email to