- From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Sep 2009 17:07:48 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/request In directory hutz:/tmp/cvs-serv15613/src/org/w3c/unicorn/request Modified Files: Request.java Log Message: removing debug output Index: Request.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/request/Request.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Request.java 3 Sep 2009 16:43:19 -0000 1.3 +++ Request.java 3 Sep 2009 17:07:46 -0000 1.4 @@ -4,24 +4,16 @@ // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.request; -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; -import java.io.OutputStreamWriter; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.event.EventCartridge; -import org.apache.velocity.app.event.implement.EscapeXmlReference; -import org.w3c.unicorn.Framework; import org.w3c.unicorn.contract.EnumInputMethod; import org.w3c.unicorn.input.InputModule; import org.w3c.unicorn.response.Response; import org.w3c.unicorn.response.parser.ResponseParserFactory; -import org.w3c.unicorn.util.Templates; /** * @@ -154,7 +146,7 @@ while ((readLength = isr.read(chararray, 0, 8192)) > -1) { builder.append(chararray, 0, readLength); } - Request.logger.debug(builder); + res = ResponseParserFactory.parse(builder.toString(), this.getResponseType()); if(res != null) { res.setXml(builder);
Received on Thursday, 3 September 2009 17:07:59 UTC