Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2008-12-05 22:42:01 +0000
committerAndrew Niefer2008-12-05 22:42:01 +0000
commit43d5b46049e7f7fc4c3bd32ef6b484bb9f85561d (patch)
treeb2cdf3e5fcac769837460c8e85991b8861fbf54f /bundles/org.eclipse.equinox.p2.console/src
parent291e954b6a48400e4a626cd5c992801ee9408451 (diff)
downloadrt.equinox.p2-43d5b46049e7f7fc4c3bd32ef6b484bb9f85561d.tar.gz
rt.equinox.p2-43d5b46049e7f7fc4c3bd32ef6b484bb9f85561d.tar.xz
rt.equinox.p2-43d5b46049e7f7fc4c3bd32ef6b484bb9f85561d.zip
bug 241430 - limit director to provided reposv20081206
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.console/src')
-rw-r--r--bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java4
1 files changed, 3 insertions, 1 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 1ff0ec3ae..7441ce692 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
@@ -163,7 +163,9 @@ public class ProvisioningHelper {
} else {
queryable = getMetadataRepository(location);
}
- return queryable.query(query, collector, monitor);
+ if (queryable != null)
+ return queryable.query(query, collector, monitor);
+ return collector;
}
public static URI[] getMetadataRepositories() {

Back to the top