Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2011-01-11 19:56:25 -0500
committerslewis2011-01-11 19:56:25 -0500
commit6731feaedb583b60c67891d222026baa88eaa22e (patch)
treebf8a3e5d965b49ccf76e9c32493b8f3c7288b336 /incubation
parent99907e86b3c53ff207a64c960dafdb069d001297 (diff)
downloadorg.eclipse.ecf-6731feaedb583b60c67891d222026baa88eaa22e.tar.gz
org.eclipse.ecf-6731feaedb583b60c67891d222026baa88eaa22e.tar.xz
org.eclipse.ecf-6731feaedb583b60c67891d222026baa88eaa22e.zip
fix for 3.7 changeover
Diffstat (limited to 'incubation')
-rw-r--r--incubation/bundles/org.eclipse.ecf.tests.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/tests/osgi/services/remoteserviceadmin/EndpointListenerTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/incubation/bundles/org.eclipse.ecf.tests.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/tests/osgi/services/remoteserviceadmin/EndpointListenerTest.java b/incubation/bundles/org.eclipse.ecf.tests.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/tests/osgi/services/remoteserviceadmin/EndpointListenerTest.java
index 6c16a20df..af75cbbfa 100644
--- a/incubation/bundles/org.eclipse.ecf.tests.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/tests/osgi/services/remoteserviceadmin/EndpointListenerTest.java
+++ b/incubation/bundles/org.eclipse.ecf.tests.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/tests/osgi/services/remoteserviceadmin/EndpointListenerTest.java
@@ -1,5 +1,6 @@
package org.eclipse.ecf.tests.osgi.services.remoteserviceadmin;
+import java.util.Dictionary;
import java.util.Properties;
import org.osgi.framework.ServiceRegistration;
@@ -30,7 +31,7 @@ public class EndpointListenerTest extends TestCase {
public void testEndpointListenerNotification() throws Exception {
Properties props = new Properties();
props.put(org.osgi.service.remoteserviceadmin.EndpointListener.ENDPOINT_LISTENER_SCOPE,"("+RemoteConstants.ENDPOINT_ID+"=*)");
- ServiceRegistration endpointListenerRegistration = Activator.getDefault().getContext().registerService(EndpointListener.class.getName(), createEndpointListener(), props);
+ ServiceRegistration endpointListenerRegistration = Activator.getDefault().getContext().registerService(EndpointListener.class.getName(), createEndpointListener(), (Dictionary) props);
Thread.sleep(5000);
endpointListenerRegistration.unregister();
}

Back to the top