diff options
author | Thomas Watson | 2012-05-21 20:49:59 +0000 |
---|---|---|
committer | Thomas Watson | 2012-05-21 20:49:59 +0000 |
commit | 8ad704b0c8149a6ab23d96f414045543e171fa06 (patch) | |
tree | 73ce1376c7645aa03259756f78dd6d9e4a9d1e4c /bundles | |
parent | 869bc6dccdc714627ae016ce73650cafd7fa5be3 (diff) | |
download | rt.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')
-rw-r--r-- | bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java | 4 |
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) { |