don't create progress indicator for removing patches

GitOrigin-RevId: 7019a8685d45f03ac8a8da3c87884ac58c0b0c86
This commit is contained in:
Sergey Ignatov
2019-05-29 16:07:04 +03:00
committed by intellij-monorepo-bot
parent d2bc007554
commit 401b34954d
2 changed files with 1 additions and 9 deletions
@@ -14,8 +14,6 @@ import com.intellij.openapi.application.PathManager;
import com.intellij.openapi.application.ex.ApplicationInfoEx;
import com.intellij.openapi.components.BaseComponent;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.openapi.progress.Task;
import com.intellij.openapi.updateSettings.UpdateStrategyCustomization;
import com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginsAdvertiser;
import com.intellij.openapi.util.BuildNumber;
@@ -102,12 +100,7 @@ public class UpdateCheckerComponent implements Disposable, BaseComponent {
}
private static void cleanupPatch() {
new Task.Backgroundable(null, IdeBundle.message("update.cleaning.patch.progress"), false) {
@Override
public void run(@NotNull ProgressIndicator indicator) {
UpdateInstaller.cleanupPatch();
}
}.queue();
ApplicationManager.getApplication().executeOnPooledThread(() -> UpdateInstaller.cleanupPatch());
}
private void queueNextCheck(long interval) {
@@ -1022,7 +1022,6 @@ update.edit.plugin.host.title=Edit Repository
update.add.new.plugin.host.title=Add Repository
update.downloading.patch.progress=Downloading Patch Files
update.preparing.patch.progress=Preparing Patch Files
update.cleaning.patch.progress=Cleaning Patch Files
update.downloading.plugins.progress=Downloading Plugin Updates
update.downloading.patch.error=Failed to prepare an update:<br>{0}<br><a href="{1}">Open download page</a>.
update.plugins.update.action=&Update