if (!filterMatchesOrIsParent(newPath)) {
continue;// filter doesn't apply to the renamed tree as a whole
}
LOGGER.trace("Handling rename of {} as {}", oldValue.path(), newPath);
MutableTree leftTree = treeDifference.getLeftTree();
leftTree.removeChild(oldValue.path());
leftTree.setChild(newValue.getParentPath(), newValue.getNode());
}
}
private void handleRemainingDifferences(TreeDifference treeDifference, Set<String> ignoreList) {