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

2006/unicorn/org/w3c/unicorn/tests UnicornClient.java,1.3,1.4

From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 16 Jan 2008 17:33:52 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JFC9A-0004LD-Cs@lionel-hutz.w3.org>

Update of /sources/public/2006/unicorn/org/w3c/unicorn/tests
In directory hutz:/tmp/cvs-serv16643/org/w3c/unicorn/tests

Modified Files:
	UnicornClient.java 
Log Message:
Remove Java 1.6 function call

Index: UnicornClient.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/tests/UnicornClient.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- UnicornClient.java	19 Dec 2007 16:14:08 -0000	1.3
+++ UnicornClient.java	16 Jan 2008 17:33:50 -0000	1.4
@@ -46,8 +46,8 @@
 			pParams = args[4];
 		}
 		
-		// simple parser des paramètres
-		if (pParams!=null && !pParams.isEmpty()) {
+		// simple parser des param�tres
+		if (pParams!=null && !"".equals(pParams)) {
 			Map<String, String[]> mapOfParameter = new LinkedHashMap<String, String[]>();
 			String[] couples = pParams.split(",");
 			for (int i=0; i<couples.length; i++) {
Received on Wednesday, 16 January 2008 17:34:00 GMT

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