void (@NotNull Project project, final ApplyPatchStatus status) { VcsNotifier vcsNotifier = VcsNotifier.getInstance(project); if (status == ApplyPatchStatus.ALREADY_APPLIED) { vcsNotifier.notifyMinorInfo(PATCH_ALREADY_APPLIED, VcsBundle.message("patch.apply.notification.title"), VcsBundle.message("patch.apply.already.applied")); } else if (status == ApplyPatchStatus.PARTIAL) { vcsNotifier.notifyMinorInfo(PATCH_PARTIALLY_APPLIED, VcsBundle.message("patch.apply.notification.title"), VcsBundle.message("patch.apply.partially.applied")); } else if (status == ApplyPatchStatus.SUCCESS) { vcsNotifier.notifySuccess(PATCH_APPLY_SUCCESS, "", VcsBundle.message("patch.apply.success.applied.text")); } }