Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2015-07-14 21:56:08 +0000
committerslewis2015-07-14 21:56:08 +0000
commit5d31fa104d2f5f5b2ab762940ac38974f8ae2692 (patch)
tree57a4c07a0193b70973166b82708e47395538cae4 /framework/bundles
parentcf9307793d08fc9897c5baf81774a3601920891d (diff)
downloadorg.eclipse.ecf-5d31fa104d2f5f5b2ab762940ac38974f8ae2692.tar.gz
org.eclipse.ecf-5d31fa104d2f5f5b2ab762940ac38974f8ae2692.tar.xz
org.eclipse.ecf-5d31fa104d2f5f5b2ab762940ac38974f8ae2692.zip
Changed property name to traceBundles rather than tracePlugins for bug
Diffstat (limited to 'framework/bundles')
-rw-r--r--framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java
index c2443fdf0..cbd97a3f3 100644
--- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java
+++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/Trace.java
@@ -26,17 +26,17 @@ public class Trace {
public static final boolean TRACEALL = new Boolean(System.getProperty(
"org.eclipse.ecf.core.util.traceAll", "false"));
- private static final List<String> TRACE_PLUGINS = new ArrayList<String>();
+ private static final List<String> TRACE_BUNDLES = new ArrayList<String>();
static {
if (!TRACEALL) {
String tracePlugins = System
- .getProperty("org.eclipse.ecf.core.util.tracePlugins");
+ .getProperty("org.eclipse.ecf.core.util.traceBundles");
if (tracePlugins != null)
try {
String[] plugins = tracePlugins.split(",");
for (String s : plugins)
- TRACE_PLUGINS.add(s);
+ TRACE_BUNDLES.add(s);
} catch (Exception e) {
System.err
.println("Unexpected exception in Trace class static initializer");
@@ -148,7 +148,7 @@ public class Trace {
private static final Map<String, Boolean> cachedOptions = new HashMap<String, Boolean>();
private static boolean tracePluginsStartsWith(String option) {
- for (String s : TRACE_PLUGINS)
+ for (String s : TRACE_BUNDLES)
if (option.startsWith(s))
return true;
return false;
@@ -167,7 +167,7 @@ public class Trace {
protected static boolean shouldTrace(String pluginId) {
if (TRACEALL)
return true;
- else if (TRACE_PLUGINS.contains(pluginId))
+ else if (TRACE_BUNDLES.contains(pluginId))
return true;
else
return shouldTrace0(pluginId + "/debug"); //$NON-NLS-1$

Back to the top