void () { if (wereChangesSaved()) { LOG.info("Update is incomplete, changes are not restored"); VcsNotifier.getInstance(myProject).notifyImportantWarning( LOCAL_CHANGES_NOT_RESTORED, GitBundle.message("restore.notification.failed.title"), getSaveMethod().selectBundleMessage( GitBundle.message("restore.notification.failed.stash.message"), GitBundle.message("restore.notification.failed.shelf.message") ), new ShowSavedChangesNotificationListener() ); } }