Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Alexander Kuppe2012-10-24 11:55:00 -0400
committerMarkus Alexander Kuppe2012-10-24 11:55:00 -0400
commitacd04f16755b58b8a67c204a303d9ddfcb5e29eb (patch)
tree0dc6b98cb441c7066e233a85deb2f22fe892350c
parent92138f7263c6dddc4fed568ea3c492f638d9722d (diff)
downloadorg.eclipse.ecf-326228.tar.gz
org.eclipse.ecf-326228.tar.xz
org.eclipse.ecf-326228.zip
Fix compatibility with newer OSGi API326228
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/internal/provider/jmdns/JMDNSPlugin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/internal/provider/jmdns/JMDNSPlugin.java b/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/internal/provider/jmdns/JMDNSPlugin.java
index 48c15c8bd..ff343f4da 100644
--- a/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/internal/provider/jmdns/JMDNSPlugin.java
+++ b/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/internal/provider/jmdns/JMDNSPlugin.java
@@ -79,7 +79,7 @@ public class JMDNSPlugin implements BundleActivator {
props.put(IDiscoveryService.CONTAINER_NAME, NAME);
props.put(Constants.SERVICE_RANKING, new Integer(750));
String[] clazzes = new String[] {IDiscoveryService.class.getName(), IDiscoveryLocator.class.getName(), IDiscoveryAdvertiser.class.getName()};
- serviceRegistration = context.registerService(clazzes, serviceFactory, props);
+ serviceRegistration = context.registerService(clazzes, serviceFactory, (Dictionary) props);
}
private final DiscoveryServiceFactory serviceFactory = new DiscoveryServiceFactory();

Back to the top