2006/unicorn/org/w3c/unicorn/tasklisttree TLTExec.java,1.4,1.5

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

Modified Files:
	TLTExec.java 
Log Message:
Fixed : a bug with the subtask type.

Index: TLTExec.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/tasklisttree/TLTExec.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- TLTExec.java	2 Sep 2008 13:22:16 -0000	1.4
+++ TLTExec.java	5 Sep 2008 14:53:05 -0000	1.5
@@ -33,13 +33,16 @@
 		TLTExec.logger.trace("Id : " + id);
 		TLTExec.logger.trace("Type : " + type);
 		TLTExec.logger.trace("Value : " + value);
-		TLTExec.logger.trace("Param : " + param);
-		TLTExec.logger.trace("Observer : " + observer.getID());
+		TLTExec.logger.trace("Param : " + param); 
+		if (type.equals("observation")) {
+			TLTExec.logger.trace("Observer : " + obs.getID());
+			this.observer=obs;
+		}
 		this.id = id;
 		this.value = value;
 		this.type=type;
 		this.param = param;
-		this.observer=obs;
+
 	}
 	
 	/**

Received on Friday, 5 September 2008 14:53:42 UTC