summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2013-05-17 10:50:51 (EDT)
committerPascal Rapicault2013-05-17 10:51:38 (EDT)
commitd039dd37600bc86fb4db90abb53e95616dfdfb1c (patch)
treedf93c870fede608e4b0f8cda9011843b08951118
parent6632465a3e69d810e75a13e41a6000a3bcd41234 (diff)
downloadrt.equinox.p2-d039dd37600bc86fb4db90abb53e95616dfdfb1c.zip
rt.equinox.p2-d039dd37600bc86fb4db90abb53e95616dfdfb1c.tar.gz
rt.equinox.p2-d039dd37600bc86fb4db90abb53e95616dfdfb1c.tar.bz2
Bug 407958 - [Remediation] pass progress monitor downI20130520-2000I20130519-2000I20130518-1500
-rw-r--r--bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/internal/p2/operations/RequestFlexer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/internal/p2/operations/RequestFlexer.java b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/internal/p2/operations/RequestFlexer.java
index c3f90da..fc1b1a3 100644
--- a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/internal/p2/operations/RequestFlexer.java
+++ b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/internal/p2/operations/RequestFlexer.java
@@ -301,7 +301,7 @@ public class RequestFlexer {
private Collection<IInstallableUnit> findAllVersionsAvailable(IInstallableUnit iu, IProgressMonitor monitor) {
Collection<IInstallableUnit> allVersions = new HashSet<IInstallableUnit>();
- SubMonitor sub = SubMonitor.convert(monitor);
+ SubMonitor sub = SubMonitor.convert(monitor, 2);
allVersions.addAll(findIUsWithSameId(iu, sub.newChild(1)));
allVersions.addAll(findUpdates(iu, sub.newChild(1)));
return allVersions;