Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBJ Hargrave2020-07-06 20:45:19 +0000
committerBJ Hargrave2020-07-06 20:45:19 +0000
commit41b894a86c2ac5cdb6fc7be24afdf22e08aee753 (patch)
tree8d5c2d1f9802e405c2d614e384ee0226ba63604a
parent235fa745dd570fa5b264a4f45c4345a33ef577aa (diff)
downloadrt.equinox.framework-41b894a86c2ac5cdb6fc7be24afdf22e08aee753.tar.gz
rt.equinox.framework-41b894a86c2ac5cdb6fc7be24afdf22e08aee753.tar.xz
rt.equinox.framework-41b894a86c2ac5cdb6fc7be24afdf22e08aee753.zip
warning: Remove deprecation warning
Change-Id: I3053b5eb23b6f1199ed5c4d0d46d073bf62c1c0d Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java
index 2023bf232..d379291de 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.java
@@ -53,7 +53,6 @@ import org.osgi.framework.ServiceObjects;
import org.osgi.framework.ServicePermission;
import org.osgi.framework.ServiceReference;
import org.osgi.framework.ServiceRegistration;
-import org.osgi.framework.hooks.service.EventHook;
import org.osgi.framework.hooks.service.EventListenerHook;
import org.osgi.framework.hooks.service.FindHook;
import org.osgi.framework.hooks.service.ListenerHook;
@@ -1268,7 +1267,7 @@ public class ServiceRegistry {
if (debug.DEBUG_HOOKS) {
Debug.println("notifyServiceEventHooks(" + event.getType() + ":" + event.getServiceReference() + "," + result + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
}
- notifyHooksPrivileged(EventHook.class, "event", (hook, hookRegistration) -> { //$NON-NLS-1$
+ notifyHooksPrivileged(org.osgi.framework.hooks.service.EventHook.class, "event", (hook, hookRegistration) -> { //$NON-NLS-1$
hook.event(event, result);
});
}

Back to the top