diff options
author | Pascal Rapicault | 2010-02-27 20:37:55 +0000 |
---|---|---|
committer | Pascal Rapicault | 2010-02-27 20:37:55 +0000 |
commit | 5d06b8f95cf5d1b45fa2804098b21049ea7d5717 (patch) | |
tree | b9a03d1c5d306d83dd596ea2f7d35893201659bd /bundles/org.eclipse.equinox.p2.directorywatcher/src | |
parent | 52971abc0896686baa5478f417db31ddc9262366 (diff) | |
download | rt.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/src')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java | 2 |
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); |