updatePG(withdraw, thePG);
  private void checkPlanElement(Task withdraw, LogisticsInventoryPG thePG) {    //if this task already has a pe - make sure the results are consistent    // with best.    PlanElement pe = withdraw.getPlanElement();    AllocationResult ar = pe.getEstimatedResult();    AllocationResult estimatedResult = PluginHelper.        createEstimatedAllocationResult(withdraw, inventoryPlugin.getRootFactory(),                                         0.9, true);    if (ar == null || !ar.equals(estimatedResult)) {      pe.setEstimatedResult(estimatedResult);      inventoryPlugin.publishChange(pe);      updatePG(withdraw, thePG);    }   }