processNewTasks(changedTasks);
processNewTasks(changedTaskList.elements());
  public void processChangedTasks(Enumeration changedTasks) {    while (changedTasks.hasMoreElements()) {      Task task = (Task) changedTasks.nextElement();      double taskWeight =        Sizer.getTaskMass(task, getTaskQuantityUnit()).getShortTons();      ADD_TONS -= taskWeight;      ADD_TASKS--;      if (getLoggingService().isDebugEnabled()) {        getLoggingService().debug("Packer - handling changed task - " +                                  task.getUID() +                                  " from " + task.getSource());      }      PlanElement pe = task.getPlanElement();      if (pe instanceof Expansion) {        Enumeration tasks = ((Expansion)pe).getWorkflow().getTasks();        while (tasks.hasMoreElements()) {          Task t = (Task)tasks.nextElement();          ((NewWorkflow)t.getWorkflow()).removeTask(t);          publishRemove(t);        }      }      publishRemove(pe);    }    processNewTasks(changedTasks);  }