2006/unicorn/src/org/w3c/unicorn/tasklist TaskListUnmarshallerBeans.java,1.7,1.8

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist
In directory hutz:/tmp/cvs-serv31387/src/org/w3c/unicorn/tasklist

Modified Files:
	TaskListUnmarshallerBeans.java 
Log Message:
uses the new condition classes ParameterCond, XPathCond, MimetypeCond

Index: TaskListUnmarshallerBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/TaskListUnmarshallerBeans.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- TaskListUnmarshallerBeans.java	16 Sep 2009 11:57:24 -0000	1.7
+++ TaskListUnmarshallerBeans.java	21 Sep 2009 12:12:41 -0000	1.8
@@ -406,10 +406,10 @@
 		String[] conds = ifs.getTest().split(",");
 
 		for (String cond : conds) {
-			TLTCond myCond = new TLTCond();
-
+			//TLTCond myCond = new TLTCond();
 			for (CondType condlist : myTask.getConds().getCondList()) {
 				if (condlist.getId().equals(cond)) {
+					TLTCond myCond = TLTCond.createCond(condlist.getType().toString());
 					TaskListUnmarshallerBeans.logger
 							.trace("Creation of a condition " + cond);
 					myCond.setId(condlist.getId());

Received on Monday, 21 September 2009 12:12:54 UTC