void (final FilePath target) { myMoved = myRenamed = false; if ((getBeforeRevision() != null) || (getAfterRevision() == null)) { // not external rename or move return; } final FilePath localPath = ChangesUtil.getFilePath(this); if (localPath.getPath().equals(target.getPath())) { // not rename or move return; } if (Comparing.equal(target.getParentPath(), localPath.getParentPath())) { myRenamed = true; } else { myMoved = true; } myCopied = false; myRenamedTargetName = target.getName(); myRenameOrMoveCached = true; }