Changeset 1309:118b88ae257a

Show
Ignore:
Timestamp:
07/06/10 15:54:12 (3 years ago)
Author:
Thomas Gambet <tgambet@…>
Branch:
default
Message:

removed mergeSubtask method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/org/w3c/unicorn/tasklist/Task.java

    r1126 r1309  
    321321                } 
    322322                return supportedMimeTypes; 
    323         } 
    324  
    325         public void mergeSubtask(final Map<String, Task> mapOfTask, Task subtask) { 
    326                 for (TLTExec exec : subtask.getTree().getExecutionList()) { 
    327                         if (exec.getType().equals("observation")) { 
    328                                 this.root.addExec(exec); 
    329                         } else if (exec.getType().equals("subtask")) { 
    330                                 Task newTask = mapOfTask.get(exec.getValue()); 
    331                                 newTask.expandNode(mapOfTask, newTask.getTree()); 
    332                                 mergeSubtask(mapOfTask, newTask); 
    333                         } 
    334  
    335                 } 
    336                 for (TLTIf tltIf : subtask.getTree().getIfList()) { 
    337                         this.root.addIf(tltIf); 
    338                 } 
    339323        } 
    340324 
     
    432416        } 
    433417 
    434         /*public void setOutputList(List<String> observationList) { 
    435                 this.listOfOutput = observationList; 
    436         } 
    437  
    438         public List<String> getListOfOutput() { 
    439                 return listOfOutput; 
    440         }*/ 
    441  
    442418        public void setOutput(Output output) { 
    443419                this.output = output;