diff options
author | Lars Vogel | 2021-02-24 09:28:46 +0000 |
---|---|---|
committer | Lars Vogel | 2021-03-15 09:45:15 +0000 |
commit | f17bf6351bca623eb5966573df90f7175151f553 (patch) | |
tree | f603a85127e3c6f3e230ed06a4335e79aa0533b0 | |
parent | 14b2e2138fe77c1ee85ce0f2cc48da23dc470d04 (diff) | |
download | eclipse.platform.debug-f17bf6351bca623eb5966573df90f7175151f553.tar.gz eclipse.platform.debug-f17bf6351bca623eb5966573df90f7175151f553.tar.xz eclipse.platform.debug-f17bf6351bca623eb5966573df90f7175151f553.zip |
Use parseBoolean directly in DynamicVariable
Avoid primitive parsing, done via JDT cleanup action
Change-Id: I210f9820d91a92154a2a10aa48ee4edffe44fa95
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | org.eclipse.core.variables/src/org/eclipse/core/internal/variables/DynamicVariable.java | 2 |
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 de6959f19..91c457cf9 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 @@ -73,7 +73,7 @@ public class DynamicVariable extends StringVariable implements IDynamicVariable @Override public boolean supportsArgument() { String arg = getConfigurationElement().getAttribute("supportsArgument"); //$NON-NLS-1$ - return arg == null || Boolean.valueOf(arg).booleanValue(); + return arg == null || Boolean.parseBoolean(arg); } } |