mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
If the latest version of plugin was the same as installed and this version was considered broken then it was still offered to upgrade to this version (the same) #IDEA-147718 fixed
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ public class PluginDownloader {
|
||||
|
||||
public static int compareVersionsSkipBrokenAndIncompatible(@NotNull IdeaPluginDescriptor existingPlugin, String newPluginVersion) {
|
||||
int state = comparePluginVersions(newPluginVersion, existingPlugin.getVersion());
|
||||
if (state <= 0 && (PluginManagerCore.isBrokenPlugin(existingPlugin) || PluginManagerCore.isIncompatible(existingPlugin))) {
|
||||
if (state < 0 && (PluginManagerCore.isBrokenPlugin(existingPlugin) || PluginManagerCore.isIncompatible(existingPlugin))) {
|
||||
state = 1;
|
||||
}
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user