- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 29 Aug 2011 07:21:03 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/servlet In directory hutz:/tmp/cvs-serv18238/css/servlet Modified Files: CssValidator.java Log Message: genericity + updated code to 5.0 stds Index: CssValidator.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/servlet/CssValidator.java,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- CssValidator.java 13 Jan 2011 13:21:17 -0000 1.45 +++ CssValidator.java 29 Aug 2011 07:21:01 -0000 1.46 @@ -45,29 +45,30 @@ /** * This class is a servlet to use the validator. - * + * * @version $Revision$ */ public final class CssValidator extends HttpServlet { - final static String texthtml = "text/html"; + final static String texthtml = "text/html"; [...1363 lines suppressed...] - e, validURI); - res.setHeader(headers_name + "Status", "Abort"); + ErrorReport error = ErrorReportFactory.getErrorReport(ac, title, output, + e, validURI); + res.setHeader(headers_name + "Status", "Abort"); - try { - error.print(out); - } - finally { - out.close(); - } + try { + error.print(out); + } finally { + out.close(); + } } }
Received on Monday, 29 August 2011 07:21:04 UTC