felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1732785 - /felix/trunk/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java
Date Sun, 28 Feb 2016 20:02:30 GMT
Author: pderop
Date: Sun Feb 28 20:02:29 2016
New Revision: 1732785

URL: http://svn.apache.org/viewvc?rev=1732785&view=rev
Log:
Use component.getClassName() when checking default dependency mode.

Modified:
    felix/trunk/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java

Modified: felix/trunk/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java?rev=1732785&r1=1732784&r2=1732785&view=diff
==============================================================================
--- felix/trunk/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java
(original)
+++ felix/trunk/dependencymanager/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/lambda/impl/Helpers.java
Sun Feb 28 20:02:29 2016
@@ -143,7 +143,7 @@ public class Helpers {
         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;



Mime
View raw message