Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,13 @@ public void run(IProgressMonitor monitor) throws InvocationTargetException, Inte
connector.getInstallableUnits() != null &&
!connector.getInstallableUnits().isEmpty() &&
isInstallableConnector(connector)) {
if (isEarlyAccessEnabled() && isEarlyAccess(connector)) {
res.put(connector.getId(), connector);
} else if (!res.containsKey(connector.getId()) /*no early access so far*/) {
if (isEarlyAccess(connector)) {
if (isEarlyAccessEnabled()) {
// always prefer EA connector when EA available
res.put(connector.getId(), connector);
}
// but never use EA connector when EA not enabled
} else if (!res.containsKey(connector.getId()) /*no better connector so far*/) {
res.put(connector.getId(), connector);
}
}
Expand Down