W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2008

2002/css-validator/org/w3c/css/util Util.java,1.5,1.6

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 17 Mar 2008 17:52:56 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JbJW4-0005jX-Uw@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv22010

Modified Files:
	Util.java 
Log Message:
using stringbuilder


Index: Util.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Util.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Util.java	13 Jul 2007 13:32:21 -0000	1.5
+++ Util.java	17 Mar 2008 17:52:54 -0000	1.6
@@ -308,7 +308,7 @@
             // nothing to escape in the string
             return s;
         }
-        StringBuffer sb = new StringBuffer(newLength);
+        StringBuilder sb = new StringBuilder(newLength);
         for (int i=0; i<length; i++){
             char c = s.charAt(i);
             int cint = 0xffff & c;
Received on Monday, 17 March 2008 17:53:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:00 GMT