diff options
Diffstat (limited to 'jdisc_core_test/test_bundles/cert-s-act/src/main/java/com/yahoo/jdisc/bundle/s')
-rw-r--r-- | jdisc_core_test/test_bundles/cert-s-act/src/main/java/com/yahoo/jdisc/bundle/s/MyBundleActivator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jdisc_core_test/test_bundles/cert-s-act/src/main/java/com/yahoo/jdisc/bundle/s/MyBundleActivator.java b/jdisc_core_test/test_bundles/cert-s-act/src/main/java/com/yahoo/jdisc/bundle/s/MyBundleActivator.java index f12381acf24..74dc64cbbd8 100644 --- a/jdisc_core_test/test_bundles/cert-s-act/src/main/java/com/yahoo/jdisc/bundle/s/MyBundleActivator.java +++ b/jdisc_core_test/test_bundles/cert-s-act/src/main/java/com/yahoo/jdisc/bundle/s/MyBundleActivator.java @@ -12,7 +12,7 @@ public class MyBundleActivator implements BundleActivator { @Override public void start(BundleContext ctx) throws Exception { - ServiceReference ref = ctx.getServiceReference(RuntimeException.class); + ServiceReference<?> ref = ctx.getServiceReference(RuntimeException.class); if (ref != null) { throw (RuntimeException)ctx.getService(ref); } @@ -20,7 +20,7 @@ public class MyBundleActivator implements BundleActivator { @Override public void stop(BundleContext ctx) throws Exception { - ServiceReference ref = ctx.getServiceReference(RuntimeException.class); + ServiceReference<?> ref = ctx.getServiceReference(RuntimeException.class); if (ref != null) { throw (RuntimeException)ctx.getService(ref); } |