if (! logger.isDebugEnabled()) return;
  private void planElementAdded(PlanElement pe) {    if (!ConsistencyChecker.isPlanElementConsistent(          self,          logger,          logplan,          pe,          CHECKCONSISTENCY)) {      removePlanElement(pe, true);    }    // Unless we're doing debug logging, skip out here.    if (! logger.isDebugEnabled())      return;    if (! CHECKCONSISTENCY)      return;    // If the task referenced by this PlanElement is inconsistent, remove it.    Task task = pe.getTask();     if (!isTaskConsistent(task, "Added PE's Task")) {      // create & publish new DeferredRescind      if (logger.isDebugEnabled())	logger.debug(self + ": Adding deferred rescind of inconsistent task " + task);      rootplan.add(new DeferredRescind(task, "Added PE's Task"));    }  }