commit | 557acd831976d235a1612399050eedf5aec32d24 | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Tue Jan 31 08:20:57 2012 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Tue Jan 31 08:20:57 2012 +0000 |
tree | 357a8e9c51944dbc8cb40dba8fa757be28f9272d | |
parent | 821326375980553d154d85bdb50be26ca739be97 [diff] |
FELIX-3243 applied the patch git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1238241 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java b/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java index 523c6e8..5e7135f 100644 --- a/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java +++ b/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java
@@ -399,7 +399,7 @@ private boolean isFactoryConfig(Designate designate) { String factoryPid = designate.getFactoryPid(); - return (factoryPid != null || !"".equals(factoryPid)); + return (factoryPid != null && !"".equals(factoryPid)); } private Bundle getBundle(String bundleLocation, boolean isFactory) throws ResourceProcessorException {