void () { GitCompoundResult result = doRollback(); if (result.totalSuccess()) { Notification notification = STANDARD_NOTIFICATION.createNotification(GitBundle.message("delete.tag.operation.rollback.successful"), GitBundle .message("delete.tag.operation.restored.tag", myTagName), NotificationType.INFORMATION); notification.setDisplayId(GitNotificationIdsHolder.TAG_RESTORED); myNotifier.notify(notification); } else { myNotifier.notifyError(TAG_DELETION_ROLLBACK_ERROR, GitBundle.message("delete.tag.operation.error.during.rollback.of.tag.deletion"), result.getErrorOutputWithReposIndication(), true); } }