if (pe == null) { if (isInfoEnabled ()) info ("Somehow between calling the predicate and trying\n" + " to remove task " + level2.getUID() +"'s plan element\n" + " the plan element got removed by another Logic Provider."); continue; }
  protected void replanLevel2 (Collection level2Tasks) {    for (Iterator iter = level2Tasks.iterator(); iter.hasNext();) {      NewTask level2 = (NewTask) iter.next();            PlanElement pe = level2.getPlanElement ();      publishRemove (pe);      publishChange (level2);      // replan the task            if (isInfoEnabled())	info (getName () + ".reviewLevel2 - replanning task " + level2.getUID() + 	      " as a Level 6 task.");    }  }