Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2011-11-14 06:55:03 -0500
committerUwe Stieber2011-11-14 06:55:03 -0500
commit61f9e7b7bbf1b03b21c7e56309068abab06ab06a (patch)
tree7cc912c1d9a5c9d8af7a8b6c09d4c99d35d84954
parente71c5240685f128ce1fe3d03a72f52908e6a9d52 (diff)
downloadorg.eclipse.tcf-61f9e7b7bbf1b03b21c7e56309068abab06ab06a.tar.gz
org.eclipse.tcf-61f9e7b7bbf1b03b21c7e56309068abab06ab06a.tar.xz
org.eclipse.tcf-61f9e7b7bbf1b03b21c7e56309068abab06ab06a.zip
Target Explorer: Fix "label" attribute reading in executable extensions
-rw-r--r--target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/extensions/ExecutableExtension.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/extensions/ExecutableExtension.java b/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/extensions/ExecutableExtension.java
index 731168a2c..983564b44 100644
--- a/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/extensions/ExecutableExtension.java
+++ b/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/extensions/ExecutableExtension.java
@@ -75,7 +75,7 @@ public class ExecutableExtension extends PlatformObject implements IExecutableEx
}
// Try the "label" attribute first
- String label = config != null ? config.getAttribute("label") : null; //$NON-NLS-1$
+ label = config != null ? config.getAttribute("label") : null; //$NON-NLS-1$
// If "label" is not found or empty, try the "name" attribute as fallback
if (label == null || "".equals(label.trim())) { //$NON-NLS-1$
label = config != null ? config.getAttribute("name") : null; //$NON-NLS-1$

Back to the top