Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2010-02-27 15:37:55 -0500
committerPascal Rapicault2010-02-27 15:37:55 -0500
commit5d06b8f95cf5d1b45fa2804098b21049ea7d5717 (patch)
treeb9a03d1c5d306d83dd596ea2f7d35893201659bd /bundles/org.eclipse.equinox.p2.directorywatcher
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.directorywatcher')
-rw-r--r--bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
index 4997b4692..e84e91e53 100644
--- a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
+++ b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
@@ -217,7 +217,7 @@ public class RepositoryListener extends DirectoryChangeListener {
IQuery<IInstallableUnit> removeQuery = QueryUtil.createMatchQuery( //
"$1.exists(x | properties[$0] == x)", FILE_NAME, removedFiles); //$NON-NLS-1$
IQueryResult<IInstallableUnit> toRemove = metadataRepository.query(removeQuery, null);
- metadataRepository.removeInstallableUnits(toRemove.unmodifiableSet());
+ metadataRepository.removeInstallableUnits(toRemove.toUnmodifiableSet());
}
// Then add all the new IUs as well as the new copies of the ones that have changed
Collection<IInstallableUnit> additions = iusToAdd.getIUs(null, null);

Back to the top