Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault (JBoss)2013-05-02 19:03:31 +0000
committerPascal Rapicault2013-05-02 20:48:46 +0000
commit83c85716ebfe71e8fa1d2cc12adcfddfd78e1d71 (patch)
treecb27fd936139ded24f799e8b40ecb9eccb25066c /bundles/org.eclipse.equinox.p2.ui.sdk
parent697de6584f6ae94e4020d92a541a33405ce9181c (diff)
downloadrt.equinox.p2-83c85716ebfe71e8fa1d2cc12adcfddfd78e1d71.tar.gz
rt.equinox.p2-83c85716ebfe71e8fa1d2cc12adcfddfd78e1d71.tar.xz
rt.equinox.p2-83c85716ebfe71e8fa1d2cc12adcfddfd78e1d71.zip
Bug 407099 - [Remediation] Operation should not special case isCheckForUpdates
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui.sdk')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/UpdateHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/UpdateHandler.java b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/UpdateHandler.java
index a416a17fa..ddeb4f23a 100644
--- a/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/UpdateHandler.java
+++ b/bundles/org.eclipse.equinox.p2.ui.sdk/src/org/eclipse/equinox/internal/p2/ui/sdk/UpdateHandler.java
@@ -47,11 +47,11 @@ public class UpdateHandler extends PreloadingRepositoryHandler {
getProvisioningUI().openUpdateWizard(false, operation, job);
} else {
- final RemediationOperation remediationOperation = new RemediationOperation(getProvisioningUI().getSession(), operation.getProfileChangeRequest(), true);
+ final RemediationOperation remediationOperation = new RemediationOperation(getProvisioningUI().getSession(), operation.getProfileChangeRequest(), RemedyConfig.getCheckForUpdateRemedyConfigs());
ProvisioningJob job2 = new ProvisioningJob("Searching alternate solutions...", getProvisioningUI().getSession()) {
@Override
public IStatus runModal(IProgressMonitor monitor) {
- monitor.beginTask("Some items cannot be at the highest version. Searching for the highest common denominator ...", RemedyConfig.getAllRemdyConfigs().length);
+ monitor.beginTask("Some items cannot be at the highest version. Searching for the highest common denominator ...", RemedyConfig.getAllRemedyConfigs().length);
return remediationOperation.resolveModal(monitor);
}
};

Back to the top