Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2010-02-27 20:37:55 +0000
committerPascal Rapicault2010-02-27 20:37:55 +0000
commit5d06b8f95cf5d1b45fa2804098b21049ea7d5717 (patch)
treeb9a03d1c5d306d83dd596ea2f7d35893201659bd /bundles/org.eclipse.equinox.p2.reconciler.dropins/src
parent52971abc0896686baa5478f417db31ddc9262366 (diff)
downloadrt.equinox.p2-5d06b8f95cf5d1b45fa2804098b21049ea7d5717.tar.gz
rt.equinox.p2-5d06b8f95cf5d1b45fa2804098b21049ea7d5717.tar.xz
rt.equinox.p2-5d06b8f95cf5d1b45fa2804098b21049ea7d5717.zip
Rename the unmodifiableSet method
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.reconciler.dropins/src')
-rw-r--r--bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java b/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
index 51a56f606..b702d4e2a 100644
--- a/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
+++ b/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
@@ -299,10 +299,10 @@ public class ProfileSynchronizer {
List<IInstallableUnit> toRemove = new ArrayList<IInstallableUnit>();
boolean foundIUsToAdd = false;
- Set<IInstallableUnit> profileIUs = profile.query(QueryUtil.createIUAnyQuery(), null).unmodifiableSet();
+ Set<IInstallableUnit> profileIUs = profile.query(QueryUtil.createIUAnyQuery(), null).toUnmodifiableSet();
// we use IProfile.available(...) here so that we also gather any shared IUs
- Set<IInstallableUnit> availableProfileIUs = profile.available(QueryUtil.createIUAnyQuery(), null).unmodifiableSet();
+ Set<IInstallableUnit> availableProfileIUs = profile.available(QueryUtil.createIUAnyQuery(), null).toUnmodifiableSet();
// get all IUs from all our repos (toAdd)
IQueryResult<IInstallableUnit> allIUs = getAllIUsFromRepos();
@@ -328,7 +328,7 @@ public class ProfileSynchronizer {
// get all IUs from profile with marked property (existing)
IQueryResult<IInstallableUnit> dropinIUs = profile.query(new IUProfilePropertyQuery(PROP_FROM_DROPINS, Boolean.TRUE.toString()), null);
- Set<IInstallableUnit> all = allIUs.unmodifiableSet();
+ Set<IInstallableUnit> all = allIUs.toUnmodifiableSet();
for (Iterator<IInstallableUnit> iter = dropinIUs.iterator(); iter.hasNext();) {
IInstallableUnit iu = iter.next();
// the STRICT policy is set when we install things via the UI, we use it to differentiate between IUs installed

Back to the top