From 43f0ea2da19df8893ac1b562509ecb8847c076be Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 11 May 2007 13:24:03 +0000 Subject: [PATCH] * Comment out unsetConstraints() invocation in removeNode() to be consistent. --- src/helma/objectmodel/db/Node.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/helma/objectmodel/db/Node.java b/src/helma/objectmodel/db/Node.java index 79be6b6c..057696fd 100644 --- a/src/helma/objectmodel/db/Node.java +++ b/src/helma/objectmodel/db/Node.java @@ -1365,9 +1365,11 @@ public final class Node implements INode, Serializable { unset(prop); } } - if (prel.countConstraints() > 1) { - prel.unsetConstraints(this, node); - } + // TODO: We should unset constraints to actually remove subnodes here, + // but omit it by convention and to keep backwards compatible. + // if (prel.countConstraints() > 1) { + // prel.unsetConstraints(this, node); + // } } }