diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-20 15:16:03 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-20 15:17:51 +0200 |
commit | 3ddf6ebdddd1ddc2f372977f7d3f82d64f225b8a (patch) | |
tree | b98c1e87416d715af01127ea725c85d3823c53cc /jdisc_core_test | |
parent | ebeadaf366b7f2a0ed5937caf5ec59d8034b527b (diff) |
fix warning
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); } |