void (@NotNull Notification notification) { new Task.Backgroundable(myProject, GitBundle.message("delete.branch.operation.collecting.unmerged.commits.process")) { @Override public void run(@NotNull ProgressIndicator indicator) { boolean restore = showNotFullyMergedDialog(myUnmergedToBranches); if (restore) { rollbackBranchDeletion(notification); } } }.queue(); }