Fix bug Exception launched on changing zoom level in limiting resources

FEA: ItEr65OTS04CorreccionsRecursosLimitantes
This commit is contained in:
Diego Pino Garcia 2010-12-11 14:33:34 +01:00
parent 0f247ae039
commit d4f6c55ae3

View file

@ -174,8 +174,8 @@ public class QueueComponent extends XulElement implements
if (interval != null) {
if (each.getEndDate().toDateMidnight()
.isAfter(interval.getStart().toDateMidnight())
&& each.getStartDate().toDateMidnight().isBefore(
new DateTime(interval.getFinish()))) {
&& each.getStartDate().toDateMidnight()
.isBefore(interval.getFinish().toDateMidnight())) {
result.add(createQueueTask(datesMapper, each));
}
} else {