Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/osgi
diff options
context:
space:
mode:
authorslewis2016-06-28 23:33:13 +0000
committerslewis2016-06-28 23:33:13 +0000
commit776337dc03b16f21aacb4b65207f52c4312828af (patch)
treebd5ed0b36a86680a695ea3f0bd8426b8401e51ee /osgi
parent17a86f0d20a9ae66887c19e2c20a417978e2606c (diff)
downloadorg.eclipse.ecf-776337dc03b16f21aacb4b65207f52c4312828af.tar.gz
org.eclipse.ecf-776337dc03b16f21aacb4b65207f52c4312828af.tar.xz
org.eclipse.ecf-776337dc03b16f21aacb4b65207f52c4312828af.zip
Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=496963
Diffstat (limited to 'osgi')
-rw-r--r--osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/META-INF/MANIFEST.MF2
-rw-r--r--osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/AbstractConsumerContainerSelector.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/META-INF/MANIFEST.MF b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/META-INF/MANIFEST.MF
index 60d39dc61..1085b3779 100644
--- a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/META-INF/MANIFEST.MF
+++ b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundle.name
Bundle-SymbolicName: org.eclipse.ecf.osgi.services.remoteserviceadmin
-Bundle-Version: 4.4.0.qualifier
+Bundle-Version: 4.4.1.qualifier
Bundle-Activator: org.eclipse.ecf.internal.osgi.services.remoteserviceadmin.Activator
Bundle-Vendor: %bundle.provider
Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/AbstractConsumerContainerSelector.java b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/AbstractConsumerContainerSelector.java
index e141740da..9955ccad9 100644
--- a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/AbstractConsumerContainerSelector.java
+++ b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/AbstractConsumerContainerSelector.java
@@ -105,7 +105,8 @@ public class AbstractConsumerContainerSelector extends
ContainerTypeDescription description = getContainerTypeDescription(container);
if (description == null)
return false;
- return description.getImportedConfigs(remoteSupportedConfigs) != null;
+ String[] importedConfigs = description.getImportedConfigs(remoteSupportedConfigs);
+ return (importedConfigs == null || importedConfigs.length == 0)?false:true;
}
protected void connectContainerToTarget(

Back to the top