Do not call markAs(CLEAN) in Node.init() because we don't know for sure if we

are going to use it. If the node is loaded already and is infact dirty, calling
markAs(CLEAN) will drop it from the transactor's dirty list. So what we do instead is
to directly set the status flag to CLEAN.    Fixes bug 352.
This commit is contained in:
hns 2004-03-29 13:04:04 +00:00
parent 7991f133d5
commit 4239bb201b

View file

@ -165,7 +165,7 @@ public final class Node implements INode, Serializable {
// set lastmodified and created timestamps and mark as clean
created = lastmodified = System.currentTimeMillis();
markAs(CLEAN);
state = CLEAN;
}
/**