Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2007-11-30 17:12:21 +0000
committerJohn Arthorne2007-11-30 17:12:21 +0000
commit212e4429f31f78e7435db2668cfbf65f81d060ec (patch)
tree7fa1ae3f1d69e1280220cc81e6472bbb7d22878b /bundles/org.eclipse.equinox.p2.console
parent17a0c9a6ef18aaf7a816eb71e699a9866bba41ac (diff)
downloadrt.equinox.p2-212e4429f31f78e7435db2668cfbf65f81d060ec.tar.gz
rt.equinox.p2-212e4429f31f78e7435db2668cfbf65f81d060ec.tar.xz
rt.equinox.p2-212e4429f31f78e7435db2668cfbf65f81d060ec.zip
Bug 207978 [prov] [repo] manager.loadRepository(...) has no progress, is terribly slow
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.console')
-rw-r--r--bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java
index 96790d72c..40b47eda5 100644
--- a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java
+++ b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java
@@ -60,9 +60,7 @@ public class ProvisioningHelper {
IMetadataRepositoryManager manager = (IMetadataRepositoryManager) ServiceHelper.getService(Activator.getContext(), IMetadataRepositoryManager.class.getName());
if (manager == null)
throw new IllegalStateException("No metadata repository manager found");
- IMetadataRepository repo = manager.getRepository(location);
- if (repo != null)
- manager.removeRepository(repo);
+ manager.removeRepository(location);
}
public static IArtifactRepository addArtifactRepository(URL location) {

Back to the top