Skip to main content
aboutsummaryrefslogtreecommitdiffstats
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.repository.tools
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.repository.tools')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/mirroring/Mirroring.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/MirrorApplication.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/mirroring/Mirroring.java b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/mirroring/Mirroring.java
index 3e20a1bea..35acab4fd 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/mirroring/Mirroring.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/mirroring/Mirroring.java
@@ -92,7 +92,7 @@ public class Mirroring {
if (compareExclusionQuery != null) {
IQueryResult<IArtifactDescriptor> exclusions = source.descriptorQueryable().query(compareExclusionQuery, null);
- compareExclusions = exclusions.unmodifiableSet();
+ compareExclusions = exclusions.toUnmodifiableSet();
}
while (keys.hasNext()) {
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/MirrorApplication.java b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/MirrorApplication.java
index e5a724487..f4bb2f2eb 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/MirrorApplication.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/MirrorApplication.java
@@ -239,7 +239,7 @@ public class MirrorApplication extends AbstractApplication implements IApplicati
private void mirrorMetadata(IQueryable<IInstallableUnit> slice, IProgressMonitor monitor) {
IQueryResult<IInstallableUnit> allIUs = slice.query(QueryUtil.createIUAnyQuery(), monitor);
- destinationMetadataRepository.addInstallableUnits(allIUs.unmodifiableSet());
+ destinationMetadataRepository.addInstallableUnits(allIUs.toUnmodifiableSet());
}
/*

Back to the top