void (@NotNull String remoteBranchName, @NotNull Collection<String> localBranches) { String message = ""; if (!localBranches.isEmpty()) { message = GitBundle.message("delete.remote.branch.operation.also.deleted.local.branches", localBranches.size(), StringUtil.join(localBranches, ", ")); } VcsNotifier.getInstance(myProject).notifySuccess( REMOTE_BRANCH_DELETION_SUCCESS, GitBundle.message("delete.remote.branch.operation.deleted.remote.branch", remoteBranchName), message); }