System.out.println("DGPlugin:DemandTaskGenerator:I'm publishing " + subtasks.size() + " " + dgPlugin.getSupplyType() + " Supply tasks");
logger.shout("DGPlugin:DemandTaskGenerator:I'm publishing " + subtasks.size() + " " + dgPlugin.getSupplyType() + " Supply tasks");
  protected void addToAndPublishExpansion(Task parent, Collection subtasks) {    Expansion expansion = (Expansion) parent.getPlanElement();    NewWorkflow wf = (NewWorkflow) expansion.getWorkflow();    Iterator subtasksIT = subtasks.iterator();      //TODO: MWD Remove debug statements:      if ((dgPlugin.getOrgName() != null) &&          (dgPlugin.getOrgName().trim().equals("1-35-ARBN"))) {        System.out.println("DGPlugin:DemandTaskGenerator:I'm publishing " + subtasks.size() + " " + dgPlugin.getSupplyType() + " Supply tasks");      }        while (subtasksIT.hasNext()) {      Task task = (Task) subtasksIT.next();      dgPlugin.publishAdd(task);      wf.addTask(task);    }    dgPlugin.publishChange(expansion);  }