No need to call containsKey on dirtyNodes before putting existing nodes.
This commit is contained in:
parent
1f29452070
commit
e113cd9687
1 changed files with 1 additions and 3 deletions
|
@ -131,11 +131,9 @@ public class Transactor {
|
|||
if (node != null) {
|
||||
Key key = node.getKey();
|
||||
|
||||
if (!dirtyNodes.containsKey(key)) {
|
||||
dirtyNodes.put(key, node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Unmark a Node that has previously been marked as modified during the transaction
|
||||
|
|
Loading…
Add table
Reference in a new issue