W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/src/org/w3c/unicorn/tasklist/parameters CheckboxListParameter.java,1.2,1.3

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 17 Sep 2009 15:39:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MoJ5L-0004US-5G@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/parameters
In directory hutz:/tmp/cvs-serv17246/src/org/w3c/unicorn/tasklist/parameters

Modified Files:
	CheckboxListParameter.java 
Log Message:
allow empty default value

Index: CheckboxListParameter.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/parameters/CheckboxListParameter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CheckboxListParameter.java	28 Aug 2009 12:40:09 -0000	1.2
+++ CheckboxListParameter.java	17 Sep 2009 15:39:49 -0000	1.3
@@ -75,7 +75,7 @@
 			final Value aValue = this.mapOfValue.get(sDefault);
 			if (aValue != null) {
 				this.mapOfDefaultValue.put(sDefault, aValue);
-			} else {
+			} else if (!sDefaultValues.equals("")) {
 				Parameter.logger.error("The default value " + sDefault
 						+ " is not a valid value.");
 			}
Received on Thursday, 17 September 2009 15:40:00 GMT

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