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,9 +131,7 @@ 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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue