diff options
author | Jiri Vanek <[email protected]> | 2013-09-25 18:50:18 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-09-25 18:50:18 +0200 |
commit | 19e74fe5dacd03e0cb5582f840e15262e39fe24f (patch) | |
tree | 38ffc4f47f7641f8d20ba0e0e8a97a97ffb1db64 /netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java | |
parent | fcd5c4c69fc5ea84b04f309eb40e295eab921fd8 (diff) |
Introduced logging bottleneck
Diffstat (limited to 'netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java b/netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java index 9555b00..7b849ef 100644 --- a/netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java +++ b/netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java @@ -45,6 +45,7 @@ import java.util.HashMap; import java.util.Map; import net.sourceforge.jnlp.runtime.JNLPRuntime; +import net.sourceforge.jnlp.util.logging.OutputController; /** * A parser for Firefox's preferences file. It can 'parse' Firefox's @@ -128,7 +129,7 @@ public final class FirefoxPreferencesParser { foundValue = true; if (foundKey && foundValue) { - // System.out.println("added (\"" + key + "\", \"" + value + "\")"); + //ItwLogger.getLogger().printOutLn("added (\"" + key + "\", \"" + value + "\")"); prefs.put(key, value); } } @@ -138,9 +139,7 @@ public final class FirefoxPreferencesParser { } finally { reader.close(); } - if (JNLPRuntime.isDebug()) { - System.out.println("Read " + prefs.size() + " entries from Firefox's preferences"); - } + OutputController.getLogger().log("Read " + prefs.size() + " entries from Firefox's preferences"); } /** |