if (oldDeadline - findLatestTime(curAlloc.keySet()) > plan .getStep()) { throw new PlanningException("The GreedyAgent" new InMemoryReservationAllocation(reservationId, contract, user, plan.getQueueName(), firstStartTime, findLatestTime(allocations.keySet()), allocations, plan.getResourceCalculator(), plan.getMinimumAllocation()); if (oldReservation != null) {
if (oldDeadline - findLatestTime(curAlloc.keySet()) > plan .getStep()) { throw new PlanningException("The GreedyAgent" new InMemoryReservationAllocation(reservationId, contract, user, plan.getQueueName(), firstStartTime, findLatestTime(allocations.keySet()), allocations, plan.getResourceCalculator(), plan.getMinimumAllocation()); if (oldReservation != null) {