Task aggtask = (Task) tasks.nextElement(); System.out.println("aggtask removed:. " + format(aggtask)); int subtype = getSubtype(aggtask); mpTasks[subtype].remove(aggtask); advanceScheduleStartTime(aggtask, remote);
Task aggTask = (Task) tasks.nextElement(); int subtype = getSubtype(aggTask); mpTasks[subtype].remove(aggTask); advanceScheduleStartTime(aggTask, remote);
    private void handleAggTasksRemoved(Enumeration tasks, boolean remote) {        while (tasks.hasMoreElements()) {            Task aggtask = (Task) tasks.nextElement();            System.out.println("aggtask removed:. " + format(aggtask));            int subtype = getSubtype(aggtask);            mpTasks[subtype].remove(aggtask);            advanceScheduleStartTime(aggtask, remote);        }    }