Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-04-25 11:26:28 -0400
committerUwe Stieber2012-04-25 11:26:28 -0400
commit422c0633487a8bc5b3e27acaba1d1e99832df006 (patch)
tree90e0b683c24fe0d040631c1bb497416e70a3fe03 /target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src
parent45c374773adf6196ad239a74944b529125e53e0b (diff)
downloadorg.eclipse.tcf-422c0633487a8bc5b3e27acaba1d1e99832df006.tar.gz
org.eclipse.tcf-422c0633487a8bc5b3e27acaba1d1e99832df006.tar.xz
org.eclipse.tcf-422c0633487a8bc5b3e27acaba1d1e99832df006.zip
Target Explorer: Fix FindBugs warnings
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/AbstractServiceManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/AbstractServiceManager.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/AbstractServiceManager.java
index 2f24f1d06..0a16f32ac 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/AbstractServiceManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/AbstractServiceManager.java
@@ -339,7 +339,7 @@ public abstract class AbstractServiceManager {
boolean isInterface = serviceType.isInterface();
for (ServiceProxy proxy : proxies) {
if (proxy.isMatching(serviceType) && proxy.isEnabled(context)) {
- if (!isInterface && proxy.equals(serviceType)) {
+ if (!isInterface) {
V service = (V)proxy.getService(unique);
service.setId(proxy.getId());
return service;

Back to the top