FELIX-4692 Improve service access time

Applying patch FELIX-4692-2.patch:
* Guard matches.retainAll(caps) in CapabilitySet.match(Set, SimpleFilter)
* Return Collection from ServiceRegistry.getServiceReferences(String, SimpleFilter)
    instead of creating a new ArrayList
* Use SimpleFilter.MATCH_ALL filter for service access without a service
    class instead of SimpleFilter.PRESENT

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1649858 13f79535-47bb-0310-9956-ffa450edef68
3 files changed