Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2010-12-07 07:57:19 -0500
committerGlyn Normington2010-12-07 07:57:19 -0500
commit8c0e7abff5c0ca925115ce702073048e9fd19ceb (patch)
tree49e612e1a56ce965fe04757f5bd8f5f0ecaaac9e /org.eclipse.virgo.kernel.agent.dm
parent400bb8d4b5de9482aa1e831ccb5704fe35a7beff (diff)
downloadorg.eclipse.virgo.kernel-8c0e7abff5c0ca925115ce702073048e9fd19ceb.tar.gz
org.eclipse.virgo.kernel-8c0e7abff5c0ca925115ce702073048e9fd19ceb.tar.xz
org.eclipse.virgo.kernel-8c0e7abff5c0ca925115ce702073048e9fd19ceb.zip
bug 330236: fix warnings
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