Only dump the whole html file if debug is on

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2003-10-26 22:49:40 +00:00
parent 9216ded7c1
commit 6571a0f216

View File

@@ -78,7 +78,7 @@ import org.w3c.tidy.Tidy;
/**
* @author <a href="mailto:bwalding@apache.org">Ben Walding</a>
* @version $Id: FileToCheck.java,v 1.12 2003/09/13 21:48:08 bwalding Exp $
* @version $Id: FileToCheck.java,v 1.13 2003/10/26 22:49:40 dion Exp $
*
*/
public class FileToCheck
@@ -140,7 +140,10 @@ public class FileToCheck
DOMReader domReader = new DOMReader();
doc = domReader.read(domDocument);
LOG.debug(baos.toString());
if (LOG.isDebugEnabled())
{
LOG.debug(baos.toString());
}
}
catch (Throwable e)
{