diff options
Diffstat (limited to 'jdisc_core_test')
-rw-r--r-- | jdisc_core_test/test_bundles/app-g-act/src/main/java/com/yahoo/jdisc/bundle/MyBundleActivator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jdisc_core_test/test_bundles/app-g-act/src/main/java/com/yahoo/jdisc/bundle/MyBundleActivator.java b/jdisc_core_test/test_bundles/app-g-act/src/main/java/com/yahoo/jdisc/bundle/MyBundleActivator.java index 29ce713f606..13828aed324 100644 --- a/jdisc_core_test/test_bundles/app-g-act/src/main/java/com/yahoo/jdisc/bundle/MyBundleActivator.java +++ b/jdisc_core_test/test_bundles/app-g-act/src/main/java/com/yahoo/jdisc/bundle/MyBundleActivator.java @@ -13,11 +13,11 @@ import org.osgi.framework.ServiceRegistration; public class MyBundleActivator implements BundleActivator { private MyService service; - private ServiceRegistration registration; + private ServiceRegistration<?> registration; @Override public void start(BundleContext ctx) throws Exception { - ServiceReference containerRef = ctx.getServiceReference(CurrentContainer.class.getName()); + ServiceReference<?> containerRef = ctx.getServiceReference(CurrentContainer.class.getName()); service = new MyService((CurrentContainer)ctx.getService(containerRef)); registration = ctx.registerService(MyService.class.getName(), service, null); } |