Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2008-01-31 07:15:47 +0000
committerSimon Kaegi2008-01-31 07:15:47 +0000
commit171738bc60c1243703640921e406d280b6b321a5 (patch)
tree3794a6e7dd45e88050dd7a07cf5d626cb7c7ea13 /bundles/org.eclipse.equinox.p2.updatechecker
parent51f3cd91c4c564ce34ba33b2702c90e0a944cd67 (diff)
downloadrt.equinox.p2-171738bc60c1243703640921e406d280b6b321a5.tar.gz
rt.equinox.p2-171738bc60c1243703640921e406d280b6b321a5.tar.xz
rt.equinox.p2-171738bc60c1243703640921e406d280b6b321a5.zip
Bug 212336 [prov] Tighten up API for Profile and ProfileRegistry
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.updatechecker')
-rw-r--r--bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/p2/updatechecker/UpdateChecker.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/p2/updatechecker/UpdateChecker.java b/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/p2/updatechecker/UpdateChecker.java
index e46127c02..45196b71b 100644
--- a/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/p2/updatechecker/UpdateChecker.java
+++ b/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/p2/updatechecker/UpdateChecker.java
@@ -15,8 +15,8 @@ import java.util.*;
import org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper;
import org.eclipse.equinox.internal.p2.updatechecker.Activator;
import org.eclipse.equinox.p2.director.IPlanner;
+import org.eclipse.equinox.p2.engine.IProfile;
import org.eclipse.equinox.p2.engine.IProfileRegistry;
-import org.eclipse.equinox.p2.engine.Profile;
import org.eclipse.equinox.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.p2.metadata.query.InstallableUnitQuery;
import org.eclipse.equinox.p2.query.Collector;
@@ -110,7 +110,7 @@ public class UpdateChecker {
IInstallableUnit[] checkForUpdates(String profileId) {
// TODO this is naive. We get all the ius every time whereas we
// could monitor changes in the profile.
- Profile profile = getProfileRegistry().getProfile(profileId);
+ IProfile profile = getProfileRegistry().getProfile(profileId);
ArrayList iusWithUpdates = new ArrayList();
if (profile == null)
return new IInstallableUnit[0];

Back to the top