Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2007-09-11 11:13:43 -0400
committerrsuen2007-09-11 11:13:43 -0400
commit24c5858147e4b17fb592b0ee0e3975c7a41d10da (patch)
tree1103644609e74a3534bbaefa53384166a4da0939 /examples
parent6d2370b408f40add23dcf8758d59a46806e8caf7 (diff)
downloadorg.eclipse.ecf-24c5858147e4b17fb592b0ee0e3975c7a41d10da.tar.gz
org.eclipse.ecf-24c5858147e4b17fb592b0ee0e3975c7a41d10da.tar.xz
org.eclipse.ecf-24c5858147e4b17fb592b0ee0e3975c7a41d10da.zip
Use valueOf(String) instead of getBoolean(String) because these strings are not system properties.
Diffstat (limited to 'examples')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/Trace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/Trace.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/Trace.java
index 1f648110c..8fa04b980 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/Trace.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/Trace.java
@@ -68,7 +68,7 @@ public class Trace {
String res = Platform
.getDebugOption(pluginName + debugPrefix + key);
if (res != null) {
- if (Boolean.getBoolean(res))
+ if (Boolean.valueOf(res).booleanValue())
return new Trace(pluginName + "(" + key + ")");
else
return null;

Back to the top