From: <jbo...@li...> - 2006-01-06 07:19:08
|
Author: aron.gombas Date: 2006-01-06 02:19:01 -0500 (Fri, 06 Jan 2006) New Revision: 2005 Modified: trunk/labs/kosmos/src/java/hu/midori/kosmos/server/util/ScrapingUtils.java Log: Minor cosmetic change Modified: trunk/labs/kosmos/src/java/hu/midori/kosmos/server/util/ScrapingUtils.java =================================================================== --- trunk/labs/kosmos/src/java/hu/midori/kosmos/server/util/ScrapingUtils.java 2006-01-06 02:52:16 UTC (rev 2004) +++ trunk/labs/kosmos/src/java/hu/midori/kosmos/server/util/ScrapingUtils.java 2006-01-06 07:19:01 UTC (rev 2005) @@ -50,7 +50,7 @@ /** Downloads an XML document from the given URL and returns it as DOM. */ public static Document downloadXmlDom(URL url) throws Exception { - log.debug(String.format("Downloading DOM from %s...", url.toString())); + log.debug(String.format("Downloading DOM from \"%s\"...", url.toString())); Document dom = DocumentBuilderFactoryImpl.class.newInstance().newDocumentBuilder().parse(url.openStream()); log.debug(String.format("DOM top-level children: %d", dom.getChildNodes().getLength())); @@ -60,7 +60,7 @@ /** Downloads and tidies up an HTML document from the given URL and returns it as DOM. */ public static Document downloadHtmlDom(URL url) throws Exception { - log.debug(String.format("Downloading HTML DOM from %s...", url.toString())); + log.debug(String.format("Downloading HTML DOM from \"%s\"...", url.toString())); Tidy tidy = new Tidy(); tidy.setQuiet(true); |