if (logger == null) { logger = Logging.getLogger(this); }
  private Schedule scheduleToNonOverlapSchedule(Schedule schedule) {    if (schedule == null) {      return null;    }    //    Logger logger = Logging.getLogger(this);    if (logger.isDebugEnabled()) {      logger.debug("Original schedule");      printSchedule(schedule, logger);    }    if (isOverlappingSchedule(schedule)) {      Schedule nonoverlapping = ScheduleUtilities.computeNonOverlappingSchedule(schedule);      if (logger.isDebugEnabled()) {        logger.debug("Is Overlapping::Computing non-overlapping schedule");        printSchedule(nonoverlapping, logger);      }      return nonoverlapping;    }	    return schedule;  }