Update of /sources/public/2006/unicorn/org/w3c/unicorn/response In directory hutz:/tmp/cvs-serv7539/org/w3c/unicorn/response Modified Files: Response.java Log Message: fixed a bug with special characters caused by a deprecated class (now using a StringBuilder) Index: Response.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Response.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Response.java 29 Aug 2008 11:56:19 -0000 1.3 +++ Response.java 10 Sep 2008 10:10:40 -0000 1.4 @@ -13,7 +13,7 @@ protected String version; protected XMLGregorianCalendar date; protected Boolean passed; - protected StringBuffer xml; // the xml version of the response + protected StringBuilder xml; // the xml version of the response /** * Result aResult = mapOfLangURIResult.get("fr").get("http://w3.org/home.css") @@ -243,11 +243,11 @@ return xList; } - public void setXml(StringBuffer xmlString) { - this.xml = xmlString; + public void setXml(StringBuilder sb) { + this.xml = sb; } - public StringBuffer getXml() { + public StringBuilder getXml() { return this.xml; } }Received on Wednesday, 10 September 2008 10:11:17 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:30 UTC