taskDispositionEstimatedHours = new Hashtable();
Iterator taskItr = getIterationTasks().iterator();
while (taskItr.hasNext()) {
Task task = (Task)taskItr.next();
if (task.isCompleted() == false) {
continue;
}
Double estimatedHours = (Double)taskDispositionEstimatedHours.get(task.getDisposition());
if (estimatedHours == null) {
estimatedHours = new Double(task.getEstimatedHours());
} else {
double oldHours = estimatedHours.doubleValue();
estimatedHours = new Double(oldHours += task.getEstimatedHours());
}
taskDispositionEstimatedHours.put(task.getDisposition(), estimatedHours);
}
}
return taskDispositionEstimatedHours;
}