From 19e74fe5dacd03e0cb5582f840e15262e39fe24f Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Wed, 25 Sep 2013 18:50:18 +0200 Subject: Introduced logging bottleneck --- netx/net/sourceforge/jnlp/MalformedXMLParser.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'netx/net/sourceforge/jnlp/MalformedXMLParser.java') 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); } -- cgit v1.2.3