void (@NotNull final FilePath path, @NotNull final T rev) { new CollectChangesTask(VcsBundle.message("file.history.diff.handler.collecting.affected.process")) { @NotNull @Override public List<Change> getChanges() throws VcsException { return getAffectedChanges(path, rev); } @NotNull @Override public String getDialogTitle() { return getAffectedChangesDialogTitle(path, rev); } }.queue(); }