From 1eece4f1366d56ff50e5b41df6c2845fef0214ad Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Tue, 19 Nov 2013 10:22:45 +0200 Subject: Bug 422026 - Get rid of ColletionUtils.empty[Set|List|Map] Now that p2 has Java 1.5 as a minimum there is no reason to not use the JVM methods. Change-Id: I89444e8d1e174c316e2b17fb4f53bc7b1d097c0a Signed-off-by: Alexander Kurtakov --- .../equinox/p2/repository/artifact/ArtifactDescriptorQuery.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bundles/org.eclipse.equinox.p2.repository') diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/ArtifactDescriptorQuery.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/ArtifactDescriptorQuery.java index 778e9f5aa..e704b1763 100644 --- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/ArtifactDescriptorQuery.java +++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/ArtifactDescriptorQuery.java @@ -13,7 +13,6 @@ package org.eclipse.equinox.p2.repository.artifact; import java.util.*; -import org.eclipse.equinox.internal.p2.core.helpers.CollectionUtils; import org.eclipse.equinox.p2.metadata.IArtifactKey; import org.eclipse.equinox.p2.metadata.VersionRange; import org.eclipse.equinox.p2.metadata.expression.*; @@ -41,7 +40,7 @@ public final class ArtifactDescriptorQuery extends ExpressionMatchQuery emptyMap(); IExpressionFactory factory = ExpressionUtil.getFactory(); return factory. matchExpression(descriptorMatch, id, range, properties); -- cgit v1.2.3