* Comment out unsetConstraints() invocation in removeNode() to be consistent.

This commit is contained in:
hns 2007-05-11 13:24:03 +00:00
parent 1091d34c77
commit 43f0ea2da1

View file

@ -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);
// }
}
}