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/MalformedXMLParser.java | |
parent | fcd5c4c69fc5ea84b04f309eb40e295eab921fd8 (diff) |
Introduced logging bottleneck
Diffstat (limited to 'netx/net/sourceforge/jnlp/MalformedXMLParser.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/MalformedXMLParser.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/netx/net/sourceforge/jnlp/MalformedXMLParser.java b/netx/net/sourceforge/jnlp/MalformedXMLParser.java index 04cfe19..27e4218 100644 --- a/netx/net/sourceforge/jnlp/MalformedXMLParser.java +++ b/netx/net/sourceforge/jnlp/MalformedXMLParser.java @@ -46,6 +46,7 @@ import java.io.OutputStreamWriter; import java.io.Writer; import net.sourceforge.jnlp.runtime.JNLPRuntime; +import net.sourceforge.jnlp.util.logging.OutputController; import org.ccil.cowan.tagsoup.HTMLSchema; import org.ccil.cowan.tagsoup.Parser; @@ -73,9 +74,7 @@ public class MalformedXMLParser extends XMLParser { */ @Override public Node getRootNode(InputStream input) throws ParseException { - if (JNLPRuntime.isDebug()) { - System.out.println("Using MalformedXMLParser"); - } + OutputController.getLogger().log("Using MalformedXMLParser"); InputStream xmlInput = xmlizeInputStream(input); return super.getRootNode(xmlInput); } |