Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Burns2004-05-11 20:46:16 +0000
committerJared Burns2004-05-11 20:46:16 +0000
commit9463b02c369ca2591143a5730444baf717ad05cf (patch)
tree9ced240ddbd543e0bbbe7f0eed9748fbb1fc0d5e /org.eclipse.core.variables/src
parent128e3e5a83a02863f216aefd94b0803a31dbe4ae (diff)
downloadeclipse.platform.debug-9463b02c369ca2591143a5730444baf717ad05cf.tar.gz
eclipse.platform.debug-9463b02c369ca2591143a5730444baf717ad05cf.tar.xz
eclipse.platform.debug-9463b02c369ca2591143a5730444baf717ad05cf.zip
Bug 57333 - Provide API to specify whether a substitution variable supports arguments
Diffstat (limited to 'org.eclipse.core.variables/src')
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/internal/variables/DynamicVariable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/DynamicVariable.java b/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/DynamicVariable.java
index e897fc555..056e0db0d 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/DynamicVariable.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/DynamicVariable.java
@@ -70,7 +70,7 @@ public class DynamicVariable extends StringVariable implements IDynamicVariable
*/
public boolean supportsArgument() {
String arg = getConfigurationElement().getAttribute("supportsArgument"); //$NON-NLS-1$
- return arg == null || arg.equals("true"); //$NON-NLS-1$
+ return arg == null || Boolean.valueOf(arg).booleanValue();
}
}

Back to the top