if(logger.isWarnEnabled()) { logger.warn("Level2Expander:expandLevel2Task: Expanding an already disposed task"); }
logger.warn("Level2Expander:expandLevel2Task: Expanding an already disposed task");
  private void expandLevel2Task(Task parent,                                Rate newRate,                                long lastSupplyTaskTime) {    NewTask childTask = createNewLevel2Task(parent,                                            newRate,                                            lastSupplyTaskTime);    PlanElement pe = parent.getPlanElement();    if (pe == null) {      createAndPublishExpansion(parent, childTask);    } else if (pe instanceof Expansion) {      republishExpansionWithTask(parent, childTask);    } else if (pe instanceof Disposition) {      if(logger.isWarnEnabled()) {	logger.warn("Level2Expander:expandLevel2Task: Expanding an already disposed task");      }      removeDisposition(parent);      createAndPublishExpansion(parent, childTask);    } else if (logger.isErrorEnabled()) {      logger.error("Unknown Plan Element on task-" + parent);    }  }