Allow reported hours bar in gantt diagram to be wider than the task.

This bug was introduced when fixing the length of progress bars
(in the commit 13389197d9).

FEA: ItEr75S04BugFixing
This commit is contained in:
Jacobo Aragunde Pérez 2012-01-03 13:36:19 +01:00
parent e7651d8b6c
commit d7e2625b18

View file

@ -525,9 +525,6 @@ public class TaskElementAdapter {
BigDecimal percentage = new BigDecimal(assignedEffort
.divivedBy(effort).doubleValue()).setScale(2,
RoundingMode.HALF_UP);
if (percentage.compareTo(BigDecimal.ONE) == 0) {
return getEndDate();
}
result = calculateLimitDateByPercentage(percentage);