Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2010-02-09 16:16:55 +0000
committerMarc Khouzam2010-02-09 16:16:55 +0000
commit8b5a8fa00c47c0556ea5d9781dca99acb1b23818 (patch)
tree5a64749361147afc93c58e70e30154f7e4c838b4
parent61ddde712eebece437fb35f599ac10818b425c4d (diff)
downloadorg.eclipse.cdt-8b5a8fa00c47c0556ea5d9781dca99acb1b23818.tar.gz
org.eclipse.cdt-8b5a8fa00c47c0556ea5d9781dca99acb1b23818.tar.xz
org.eclipse.cdt-8b5a8fa00c47c0556ea5d9781dca99acb1b23818.zip
[302273] Fix typo that made getAdapter() always return null
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/RetargetAction.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/RetargetAction.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/RetargetAction.java
index 48ee44322a2..68e211975d9 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/RetargetAction.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/RetargetAction.java
@@ -153,7 +153,7 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
if (adapter == null) {
IAdapterManager adapterManager = Platform.getAdapterManager();
if (adapterManager.hasAdapter(adaptable, getAdapterClass().getName())) {
- fTargetAdapter = adapterManager.loadAdapter(adaptable, getAdapterClass().getName());
+ adapter = adapterManager.loadAdapter(adaptable, getAdapterClass().getName());
}
}
return adapter;

Back to the top