r9990 - helma/helma/trunk/src/helma/objectmodel/db

[email protected] Wed, 18 Nov 2009 15:21:00 +0100 (CET)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20091118142100.49F243D0E2@mia>
Author: hannes
Date: 2009-11-18 15:21:00 +0100 (Wed, 18 Nov 2009)
New Revision: 9990

Modified:
   helma/helma/trunk/src/helma/objectmodel/db/Node.java
Log:
Do not load subnodes in addNode(). The subnode list is created a few lines later anyway, and using a faux list shouldn't affect relational collections.

Details at http://dev.helma.org/trac/helma/changeset/9990

Modified: helma/helma/trunk/src/helma/objectmodel/db/Node.java
===================================================================
--- helma/helma/trunk/src/helma/objectmodel/db/Node.java	2009-11-16 13:47:46 UTC (rev 9989)
+++ helma/helma/trunk/src/helma/objectmodel/db/Node.java	2009-11-18 14:21:00 UTC (rev 9990)
@@ -762,8 +762,6 @@
             node.markAs(MODIFIED);
         }
 
-        loadNodes();
-
         // check if this node has a group-by subnode-relation
         Node groupbyNode = getGroupbySubnode(node, true);
         if (groupbyNode != null) {