Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2008-03-10 16:07:10 -0400
committerSusan Franklin2008-03-10 16:07:10 -0400
commit63b916a5d6149ed71988ed690c23014fa68ecb81 (patch)
treeb7a449ba53ec93c811b63b1a13a0dfb9b8b5052d
parentb0e4b271f45ef5301a0b7ed69b8292a0945b90c1 (diff)
downloadrt.equinox.p2-63b916a5d6149ed71988ed690c23014fa68ecb81.tar.gz
rt.equinox.p2-63b916a5d6149ed71988ed690c23014fa68ecb81.tar.xz
rt.equinox.p2-63b916a5d6149ed71988ed690c23014fa68ecb81.zip
fix wrong progress monitor usage
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java
index 8090510e9..e87c74d72 100644
--- a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java
@@ -608,7 +608,7 @@ public class MetadataRepositoryManager implements IMetadataRepositoryManager {
SubMonitor loopMonitor = sub.newChild(100);
IExtension[] providers = findMatchingRepositoryExtensions(suffixes[i]);
// Loop over the candidates and return the first one that successfully loads
- monitor.beginTask("", providers.length * 10); //$NON-NLS-1$
+ loopMonitor.beginTask("", providers.length * 10); //$NON-NLS-1$
for (int j = 0; j < providers.length; j++) {
IMetadataRepositoryFactory factory = (IMetadataRepositoryFactory) createExecutableExtension(providers[j], FACTORY);
if (factory != null) {

Back to the top