- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 24 Feb 2009 23:26:00 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util In directory hutz:/tmp/cvs-serv21260 Modified Files: InvalidParamException.java Log Message: small modification Index: InvalidParamException.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/util/InvalidParamException.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- InvalidParamException.java 24 Feb 2009 22:57:37 -0000 1.8 +++ InvalidParamException.java 24 Feb 2009 23:25:58 -0000 1.9 @@ -70,11 +70,12 @@ // replace all parameters String[] msg_parts = str.split("%s"); int j = 0; - for (int i = 0; i< msg_parts.length; i++) { - sb.append(msg_parts[i]); + sb.append(msg_parts[0]); + for (int i = 1; i< msg_parts.length; i++) { if (j < s_args.length) { sb.append(s_args[j++]); } + sb.append(msg_parts[i]); } return sb.toString(); }
Received on Tuesday, 24 February 2009 23:26:10 UTC