stupid lack-of-sleep error in previous commit

This commit is contained in:
hns 2001-08-05 21:50:21 +00:00
parent 3571fe1b07
commit 55718abcc3

View file

@ -787,7 +787,7 @@ public final class Node implements INode, Serializable {
if (!"root".equalsIgnoreCase (node.getPrototype ())) { if (!"root".equalsIgnoreCase (node.getPrototype ())) {
// avoid calling getParent() because it would return bogus results for the not-anymore transient node // avoid calling getParent() because it would return bogus results for the not-anymore transient node
Node nparent = node.parentHandle == null ? null : node.parentHanldle.getNode (); Node nparent = node.parentHandle == null ? null : node.parentHandle.getNode (nmgr);
// if the node doesn't have a parent yet, or it has one but it's transient while we are // if the node doesn't have a parent yet, or it has one but it's transient while we are
// persistent, make this the nodes new parent. // persistent, make this the nodes new parent.
if (nparent == null || (state != TRANSIENT && nparent.getState () == TRANSIENT)) { if (nparent == null || (state != TRANSIENT && nparent.getState () == TRANSIENT)) {