commit | 9ddcd3daeccc338b62b18c3dbdfa735c752aa340 | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Sun Feb 28 20:02:29 2016 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Sun Feb 28 20:02:29 2016 +0000 |
tree | 5b546b4803f3082dce972f1db532d46b6b07f3dd | |
parent | 3076794efcb8dac601bbe25b56988f0f2e5b5328 [diff] |
Use component.getClassName() when checking default dependency mode. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1732785 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java b/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java index c7c96b7..db0dc5c 100644 --- a/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java +++ b/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java
@@ -143,7 +143,7 @@ String defaultRequiredDependency = ctx.getProperty(DEFAULT_REQUIRED_DEPENDENCY); if (defaultRequiredDependency != null) { defaultRequiredDependency = defaultRequiredDependency.trim(); - String componentName = c.getComponentDeclaration().getName(); + String componentName = c.getComponentDeclaration().getClassName(); for (String pkg : defaultRequiredDependency.split(",")) { if (componentName.startsWith(pkg)) { return true;