for (Option option : options) {
if (option.isCandidate()) {
i++;
for (Trip tripDate : tripDates) {
Trip clone = tripDate.clone();
Airport a = new Airport();
a.setAirportname(option.getOriginLabel());
a.setIataCode(option.getOrigin());
Airport b = new Airport();
b.setAirportname(option.getDestinationLabel());
b.setIataCode(option.getDestination());
Flight arrival = clone.getArrival();
arrival.setOrigin(a);
arrival.setDestination(b);
arrival.setCandidate(true);
arrival.setModificationDate(new Date());
arrival.setOperator(option.getOperator());
Flight departure = clone.getDeparture();
departure.setOrigin(b);
departure.setDestination(a);
departure.setCandidate(true);
departure.setModificationDate(new Date());
departure.setOperator(option.getOperator());