Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2009-10-14 10:36:46 -0400
committerPascal Rapicault2009-10-14 10:36:46 -0400
commit8a8d47bfb09a2456e8e8addeaa3a2e6febdc64a1 (patch)
treeda34b67f0c0ea3faa8b4a03ad58f2f5a20f10b7a /bundles/org.eclipse.equinox.p2.touchpoint.eclipse
parentd251eb021868349d5ff4abc0c3d9dec0c7a98952 (diff)
downloadrt.equinox.p2-8a8d47bfb09a2456e8e8addeaa3a2e6febdc64a1.tar.gz
rt.equinox.p2-8a8d47bfb09a2456e8e8addeaa3a2e6febdc64a1.tar.xz
rt.equinox.p2-8a8d47bfb09a2456e8e8addeaa3a2e6febdc64a1.zip
Bug 291620 - Make VersionedName API
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.touchpoint.eclipse')
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/actions/CheckTrustAction.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/actions/CheckTrustAction.java b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/actions/CheckTrustAction.java
index 9e5fffa74..027ef3d5f 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/actions/CheckTrustAction.java
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/actions/CheckTrustAction.java
@@ -10,8 +10,6 @@
*******************************************************************************/
package org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions;
-import org.eclipse.equinox.internal.provisional.p2.metadata.query.Collector;
-
import java.io.File;
import java.util.Collection;
import java.util.Map;
@@ -23,6 +21,7 @@ import org.eclipse.equinox.internal.provisional.p2.engine.IProfile;
import org.eclipse.equinox.internal.provisional.p2.engine.ProvisioningAction;
import org.eclipse.equinox.internal.provisional.p2.metadata.IArtifactKey;
import org.eclipse.equinox.internal.provisional.p2.metadata.IInstallableUnit;
+import org.eclipse.equinox.internal.provisional.p2.metadata.query.Collector;
import org.eclipse.equinox.internal.provisional.p2.metadata.query.InstallableUnitQuery;
/**
@@ -42,7 +41,7 @@ public class CheckTrustAction extends ProvisioningAction {
return null;
IProfile profile = (IProfile) parameters.get(ActionConstants.PARM_PROFILE);
//if the IU is already in the profile there is nothing to do
- if (!profile.available(new InstallableUnitQuery(iu.getId(), iu.getVersion()), new Collector(), null).isEmpty())
+ if (!profile.available(new InstallableUnitQuery(iu), new Collector(), null).isEmpty())
return null;
Collection bundleFiles = (Collection) parameters.get(ActionConstants.PARM_ARTIFACT_FILES);
IArtifactKey[] artifacts = iu.getArtifacts();

Back to the top