W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2010

unicorn commit: removed mergeSubtask method

From: Mercurial notifier <nobody@w3.org>
Date: Tue, 06 Jul 2010 15:54:22 +0000
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1OWATW-0006CD-3Q@blinky.w3.org>
changeset:   1309:118b88ae257a
tag:         tip
user:        Thomas Gambet <tgambet@w3.org>
date:        Tue Jul 06 11:54:12 2010 -0400
files:       src/org/w3c/unicorn/tasklist/Task.java
description:
removed mergeSubtask method


diff -r 972d48936618 -r 118b88ae257a src/org/w3c/unicorn/tasklist/Task.java
--- a/src/org/w3c/unicorn/tasklist/Task.java	Mon Jul 05 11:32:39 2010 +0200
+++ b/src/org/w3c/unicorn/tasklist/Task.java	Tue Jul 06 11:54:12 2010 -0400
@@ -322,22 +322,6 @@
 		return supportedMimeTypes;
 	}
 
-	public void mergeSubtask(final Map<String, Task> mapOfTask, Task subtask) {
-		for (TLTExec exec : subtask.getTree().getExecutionList()) {
-			if (exec.getType().equals("observation")) {
-				this.root.addExec(exec);
-			} else if (exec.getType().equals("subtask")) {
-				Task newTask = mapOfTask.get(exec.getValue());
-				newTask.expandNode(mapOfTask, newTask.getTree());
-				mergeSubtask(mapOfTask, newTask);
-			}
-
-		}
-		for (TLTIf tltIf : subtask.getTree().getIfList()) {
-			this.root.addIf(tltIf);
-		}
-	}
-
 	/**
 	 * 
 	 */
@@ -431,14 +415,6 @@
 		return aStringBuffer.toString();
 	}
 
-	/*public void setOutputList(List<String> observationList) {
-		this.listOfOutput = observationList;
-	}
-
-	public List<String> getListOfOutput() {
-		return listOfOutput;
-	}*/
-
 	public void setOutput(Output output) {
 		this.output = output;
 	}
Received on Tuesday, 6 July 2010 15:54:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:43 UTC