Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2012-05-21 20:49:59 +0000
committerThomas Watson2012-05-21 20:49:59 +0000
commit8ad704b0c8149a6ab23d96f414045543e171fa06 (patch)
tree73ce1376c7645aa03259756f78dd6d9e4a9d1e4c /bundles/org.eclipse.osgi/core/framework/org/eclipse
parent869bc6dccdc714627ae016ce73650cafd7fa5be3 (diff)
downloadrt.equinox.framework-8ad704b0c8149a6ab23d96f414045543e171fa06.tar.gz
rt.equinox.framework-8ad704b0c8149a6ab23d96f414045543e171fa06.tar.xz
rt.equinox.framework-8ad704b0c8149a6ab23d96f414045543e171fa06.zip
Bug 379865 - Getting OSGi service references with simple filter is slowv20120521-2049I20120521-2100I20120521-1900
Diffstat (limited to 'bundles/org.eclipse.osgi/core/framework/org/eclipse')
-rw-r--r--bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java
index 7634ca902..a80b00b2e 100644
--- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java
+++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2010 IBM Corporation and others.
+ * Copyright (c) 2004, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -963,7 +963,7 @@ public class ServiceRegistry {
return empty;
}
- result = new ArrayList<ServiceRegistrationImpl<?>>(result); /* make a new list since we don't want to change the real list */
+ result = new LinkedList<ServiceRegistrationImpl<?>>(result); /* make a new list since we don't want to change the real list */
}
if (filter == null) {

Back to the top