No need to call containsKey on dirtyNodes before putting existing nodes.

This commit is contained in:
lehni 2009-08-12 11:16:33 +00:00
parent 1f29452070
commit e113cd9687

View file

@ -131,11 +131,9 @@ public class Transactor {
if (node != null) { if (node != null) {
Key key = node.getKey(); Key key = node.getKey();
if (!dirtyNodes.containsKey(key)) {
dirtyNodes.put(key, node); dirtyNodes.put(key, node);
} }
} }
}
/** /**
* Unmark a Node that has previously been marked as modified during the transaction * Unmark a Node that has previously been marked as modified during the transaction