private void verifyID2ChildrenCount(ReadableTransaction txn, ChildrenCount parent) {
final long expected = parent.numberOfChildren;
final long currentValue = id2childrenCount.getCount(txn, parent.entryID);
if (expected != currentValue)
{
<BUG>errorCount++;
logger.trace("File id2childrenCount has wrong number of children for DN <%s> (got %d, expecting %d)",
parent.baseDN, currentValue, expected);</BUG>
}
}

private void verifyID2ChildrenCount(ReadableTransaction txn, ChildrenCount parent) {
final long expected = parent.numberOfChildren;
final long currentValue = id2childrenCount.getCount(txn, parent.entryID);
if (expected != currentValue)
{
errorCount++;
logger.error(ERR_VERIFY_ID2COUNT_WRONG_COUNT, parent.baseDN, currentValue, expected);
}
}
