Discussion:
r9990 - helma/helma/trunk/src/helma/objectmodel/db
h***@helma.org
2009-11-18 14:21:00 UTC
Permalink
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) {

Loading...