void (LogEntry logEntry) { if (myRoot) { return; } myBefore = myPath; myDirectlyMentioned = null; final Map<String,LogEntryPath> paths = logEntry.getChangedPaths(); final LogEntryPath entryPath = paths.get(myPath); if (entryPath != null) { myDirectlyMentioned = entryPath; // exact match if (entryPath.getCopyPath() != null) { myPath = entryPath.getCopyPath(); return; } } for (LogEntryPath path : paths.values()) { // "the origin path *from where* the item, ..." // TODO: this could incorrectly handle case when parent folder was replaced - see IDEA-103042 // TODO: or several parent folder renames occur IDEA-96825 final String copyPath = path.getCopyPath(); if (copyPath != null) { final String thisEntryPath = path.getPath(); if (parentPathChanged(copyPath, thisEntryPath)) { return; } } } }