void (DirDiffElementImpl element, DiffElement<?> newElement) { if (newElement != null) { final DTree node = element.getNode(); node.setType(DiffType.EQUAL); node.setSource(newElement); final int row = myElements.indexOf(element); if (getSettings().showEqual) { element.updateTargetFromSource(newElement); fireTableRowsUpdated(row, row); } else { removeElement(element, false); } } }