Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-02-08 08:28:05 +0000
committerLars Vogel2019-02-08 09:55:32 +0000
commit4c59ccf048823e96cc8a8bab125a65421720e4e5 (patch)
tree5c393e73d7e90f13f62ef42cb18f99c1dd0b124a
parent4384b535ddebe883c88c6bc35eab4b15c97036cc (diff)
downloadrt.equinox.framework-4c59ccf048823e96cc8a8bab125a65421720e4e5.tar.gz
rt.equinox.framework-4c59ccf048823e96cc8a8bab125a65421720e4e5.tar.xz
rt.equinox.framework-4c59ccf048823e96cc8a8bab125a65421720e4e5.zip
Use "Boolean.parseBoolean" for this string-to-boolean conversion in
org.eclipse.equinox.launcher#Main Change-Id: I91fd32a2973420002be3b01f31a5012066dac5d9 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index d2ae30256..042b37fe7 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -711,7 +711,7 @@ public class Main {
private boolean checkConfigurationLocation(URL locationUrl) {
if (locationUrl == null || !"file".equals(locationUrl.getProtocol())) //$NON-NLS-1$
return true;
- if (Boolean.valueOf(System.getProperty(PROP_CONFIG_AREA + READ_ONLY_AREA_SUFFIX)).booleanValue()) {
+ if (Boolean.parseBoolean(System.getProperty(PROP_CONFIG_AREA + READ_ONLY_AREA_SUFFIX))) {
// user wants readonly config area
return true;
}

Back to the top