Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hallgren2010-02-24 12:35:17 +0000
committerThomas Hallgren2010-02-24 12:35:17 +0000
commitaf0f001d2774f0686ed3cf9db0f5cc71c8f22053 (patch)
tree0270cab9b7cf530bb5d339bd271b28717b64234e /bundles
parent31aed1e27bddbc6e8457e998e804d23e73a230c5 (diff)
downloadrt.equinox.p2-af0f001d2774f0686ed3cf9db0f5cc71c8f22053.tar.gz
rt.equinox.p2-af0f001d2774f0686ed3cf9db0f5cc71c8f22053.tar.xz
rt.equinox.p2-af0f001d2774f0686ed3cf9db0f5cc71c8f22053.zip
changed comment
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java b/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java
index 496b20318..8b2eda0de 100644
--- a/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java
+++ b/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java
@@ -35,8 +35,8 @@ public class CoreGarbageCollector {
*/
public synchronized void clean(IArtifactKey[] markSet, final IArtifactRepository aRepository) {
Set<IArtifactKey> set = new HashSet<IArtifactKey>(Arrays.asList(markSet));
- //this query will match all artifact keys in the given set
- IQuery<IArtifactKey> query = new ExpressionContextQuery<IArtifactKey>(IArtifactKey.class, "unique($0)", set); //$NON-NLS-1$
+ //this query will match all artifact keys that are not in the given set
+ IQuery<IArtifactKey> query = ExpressionContextQuery.createQuery(IArtifactKey.class, "unique($0)", set); //$NON-NLS-1$
final IQueryResult<IArtifactKey> inactive = aRepository.query(query, null);
aRepository.executeBatch(new Runnable() {
public void run() {

Back to the top