minor formatting tweaks
This commit is contained in:
parent
c469170727
commit
f6b20d916a
1 changed files with 6 additions and 2 deletions
|
@ -160,6 +160,7 @@ public final class NodeManager {
|
|||
// version is fetched from the database.
|
||||
|
||||
node = getNodeByKey (db, tx.txn, kstr, dbmap);
|
||||
key.recycle (dbmap, kstr);
|
||||
if (node != null) {
|
||||
synchronized (cache) {
|
||||
Node oldnode = (Node) cache.put (node.getKey (), node);
|
||||
|
@ -173,9 +174,11 @@ public final class NodeManager {
|
|||
// cache hit
|
||||
}
|
||||
|
||||
if (node != null)
|
||||
if (node != null) {
|
||||
tx.visitCleanNode (key.duplicate(), node);
|
||||
}
|
||||
// tx.timer.endEvent ("getNode "+kstr);
|
||||
|
||||
return node;
|
||||
}
|
||||
|
||||
|
@ -263,8 +266,9 @@ public final class NodeManager {
|
|||
}
|
||||
}
|
||||
|
||||
if (node != null)
|
||||
if (node != null) {
|
||||
tx.visitCleanNode (key.duplicate(), node);
|
||||
}
|
||||
|
||||
// tx.timer.endEvent ("getNode "+kstr);
|
||||
return node;
|
||||
|
|
Loading…
Add table
Reference in a new issue