commit | b48770109ff9a6dcd7b2da50ebe9873e873faf7e | [log] [tgz] |
---|---|---|
author | Xander Uiterlinden <uiterlix@apache.org> | Tue Apr 03 14:29:35 2012 +0000 |
committer | Xander Uiterlinden <uiterlix@apache.org> | Tue Apr 03 14:29:35 2012 +0000 |
tree | 923d1d204c64f02bf316db7f21f5c79005a7a3a7 | |
parent | 51e5917049e949e7eb6c01b773657db7002adc88 [diff] |
FELIX-3423: Prevented the copy of the DependencyManager.ASPECT service property to the adapter's service properties. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1308937 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AdapterServiceImpl.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AdapterServiceImpl.java index 260ef79..fda794b 100644 --- a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AdapterServiceImpl.java +++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AdapterServiceImpl.java
@@ -94,7 +94,7 @@ // if we're handed an aspect fetch the aspect property as the service id to track, but do not copy it serviceIdToTrack = ref.getProperty(key).toString(); } - if (key.equals(Constants.SERVICE_ID) || key.equals(Constants.SERVICE_RANKING) || key.equals(Constants.OBJECTCLASS)) { + if (key.equals(DependencyManager.ASPECT) || key.equals(Constants.SERVICE_ID) || key.equals(Constants.SERVICE_RANKING) || key.equals(Constants.OBJECTCLASS)) { // do not copy these either } else {