* Comment out unsetConstraints() invocation in removeNode() to be consistent.
This commit is contained in:
parent
1091d34c77
commit
43f0ea2da1
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue