void () { if (myBeforeRevision == null || myAfterRevision == null) return; if (myRenameOrMoveCached) return; myRenameOrMoveCached = true; FilePath beforePath = myBeforeRevision.getFile(); FilePath afterPath = myAfterRevision.getFile(); // intentionally comparing case-sensitively even on case-insensitive OS to identify case-only renames if (beforePath.getPath().equals(afterPath.getPath())) return; if (Comparing.equal(beforePath.getParentPath(), afterPath.getParentPath())) { myRenamed = true; } else { myMoved = true; } }