Small fix to
726106b, the optimization to not look into the branch
in memory (when looking for a HTNode) should only be done when we
know the node is not in memory. The general case should use the
method from HistoryTree itself.
Change-Id: I3ce114f7f84f14f2dc892c400ab6aa768bab18fc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/20902
Tested-by: Hudson CI
if (currentNode.isDone()) {
return treeIO.readNode(potentialNextSeqNb);
}
- return treeIO.readNode(potentialNextSeqNb);
+ return readNode(potentialNextSeqNb);
}
/**