void (@NotNull @Nls String message) { switch (myDeleteOnMerge) { case DELETE -> { super.notifySuccess(message); new GitBranchWorker(myProject, myGit, myUiHandler).deleteBranch(myBranchToMerge, new ArrayList<>(getRepositories())); } case PROPOSE -> { String deleteBranch = GitBundle.message("merge.operation.delete.branch", myBranchToMerge); String description = new HtmlBuilder().appendRaw(message).br().appendLink(DELETE_HREF_ATTRIBUTE, deleteBranch).toString(); VcsNotifier.getInstance(myProject).notifySuccess(DELETE_BRANCH_ON_MERGE, "", description, new DeleteMergedLocalBranchNotificationListener()); } case NOTHING -> super.notifySuccess(message); } }