GitOrigin-RevId: a57faf300332528ac24fa07f6e9a417f1091df5e
This commit is contained in:
Vladimir Krivosheev
2019-11-07 02:40:58 +00:00
committed by intellij-monorepo-bot
parent 1869752150
commit 5486bee34e
3 changed files with 8 additions and 8 deletions
@@ -34,7 +34,7 @@ import java.util.*;
/**
* @author anna
*/
public class PluginDownloader {
public final class PluginDownloader {
private static final Logger LOG = Logger.getInstance(PluginDownloader.class);
private static final String FILENAME = "filename=";
@@ -1,4 +1,4 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.updateSettings.impl;
import com.intellij.ide.IdeBundle;
@@ -22,10 +22,10 @@ import java.util.Set;
* @author pti
*/
class PluginUpdateInfoDialog extends AbstractUpdateDialog {
private final Collection<? extends PluginDownloader> myUploadedPlugins;
private final Collection<PluginDownloader> myUploadedPlugins;
private final boolean myPlatformUpdate;
PluginUpdateInfoDialog(Collection<? extends PluginDownloader> uploadedPlugins, boolean enableLink) {
PluginUpdateInfoDialog(Collection<PluginDownloader> uploadedPlugins, boolean enableLink) {
super(enableLink);
myUploadedPlugins = uploadedPlugins;
myPlatformUpdate = false;
@@ -35,7 +35,7 @@ class PluginUpdateInfoDialog extends AbstractUpdateDialog {
/**
* Used from {@link UpdateInfoDialog} when both platform and plugin updates are available.
*/
PluginUpdateInfoDialog(@NotNull Collection<? extends PluginDownloader> updatePlugins) {
PluginUpdateInfoDialog(@NotNull Collection<PluginDownloader> updatePlugins) {
super(false);
myUploadedPlugins = updatePlugins;
myPlatformUpdate = true;
@@ -50,9 +50,9 @@ import static com.intellij.openapi.util.Pair.pair;
/**
* @author pti
*/
class UpdateInfoDialog extends AbstractUpdateDialog {
final class UpdateInfoDialog extends AbstractUpdateDialog {
private final UpdateChannel myUpdatedChannel;
private final Collection<? extends PluginDownloader> myUpdatedPlugins;
private final Collection<PluginDownloader> myUpdatedPlugins;
private final BuildInfo myNewBuild;
private final UpdateChain myPatches;
private final boolean myWriteProtected;
@@ -65,7 +65,7 @@ class UpdateInfoDialog extends AbstractUpdateDialog {
@NotNull BuildInfo newBuild,
@Nullable UpdateChain patches,
boolean enableLink,
@Nullable Collection<? extends PluginDownloader> updatedPlugins,
@Nullable Collection<PluginDownloader> updatedPlugins,
@Nullable Collection<? extends IdeaPluginDescriptor> incompatiblePlugins) {
super(enableLink);
myUpdatedChannel = channel;