if (closed && state == Deadline.STATE_INITIAL) {
state = DeadlineInfo.STATE_CANCELED;
} else if (running && state == Deadline.STATE_INITIAL) {
state = DeadlineInfo.STATE_ACTIVE;
}
dli[i] = new DeadlineInfo
(dl.getExecution(), dl.getExceptionName (),
dl.getCondition(), state);
}
return dli;
}