summaryrefslogtreecommitdiffstats
path: root/jdisc_core_test
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-20 15:16:03 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-20 15:17:51 +0200
commit3ddf6ebdddd1ddc2f372977f7d3f82d64f225b8a (patch)
treeb98c1e87416d715af01127ea725c85d3823c53cc /jdisc_core_test
parentebeadaf366b7f2a0ed5937caf5ec59d8034b527b (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.java4
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);
}