if (schedule != null)
if (schedule != null) {
  public void addNamedSchedule(String name, Vector schedule) {    if (schedule != null)      schedules.addElement(new UISimpleNamedSchedule(name, schedule));  }