mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
consider a EAP channel as active even if its current version is greater than the one we have now (IDEA-96581)
This commit is contained in:
+2
-1
@@ -88,7 +88,8 @@ public class UpdateStrategy {
|
||||
List<UpdateChannel> channels = product.getChannels();
|
||||
List<UpdateChannel> result = new ArrayList<UpdateChannel>();
|
||||
for (UpdateChannel channel : channels) {
|
||||
if (channel.getMajorVersion() == myMajorVersion && channel.getStatus().compareTo(myChannelStatus) >= 0) {
|
||||
if ((channel.getMajorVersion() == myMajorVersion && channel.getStatus().compareTo(myChannelStatus) >= 0) ||
|
||||
(channel.getMajorVersion() > myMajorVersion && channel.getStatus() == ChannelStatus.EAP && myChannelStatus == ChannelStatus.EAP)) {
|
||||
result.add(channel);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user