Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.virgo.kernel.agent.dm')
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/ContextPropagatingTaskExecutor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/ContextPropagatingTaskExecutor.java b/org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/ContextPropagatingTaskExecutor.java
index 0f70c71a..0388076d 100644
--- a/org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/ContextPropagatingTaskExecutor.java
+++ b/org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/ContextPropagatingTaskExecutor.java
@@ -65,7 +65,7 @@ public final class ContextPropagatingTaskExecutor implements TaskExecutor, Dispo
return localTracingService;
}
- ServiceReference serviceReference = this.bundleContext.getServiceReference(TracingService.class.getName());
+ ServiceReference<TracingService> serviceReference = this.bundleContext.getServiceReference(TracingService.class);
if (serviceReference != null) {
localTracingService = (TracingService) this.bundleContext.getService(serviceReference);
}

Back to the top