Fix bug: 'Absolute margin with deadline' was not being refreshed even if the deadline of the project changed

FEA: ItEr76S15OrganizingPerProjectDashboard
This commit is contained in:
Diego Pino 2012-05-14 19:43:12 +02:00
parent 019d49b7d7
commit 0e47a5f1fb

View file

@ -102,6 +102,7 @@ public class DashboardModel implements IDashboardModel {
if (tasksAvailable()) {
this.calculateTaskStatusStatistics();
this.calculateTaskViolationStatusStatistics();
this.calculateAbsoluteMarginWithDeadLine();
this.calculateMarginWithDeadLine();
this.calculateFinishedTasksEstimationAccuracyHistogram();
this.calculateLagInTaskCompletionHistogram();
@ -243,9 +244,6 @@ public class DashboardModel implements IDashboardModel {
@Override
public Integer getAbsoluteMarginWithDeadLine() {
if (absoluteMarginWithDeadLine == null) {
calculateAbsoluteMarginWithDeadLine();
}
return absoluteMarginWithDeadLine;
}