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());
logger.info(clone);
trips.add(clone);
}
}