public ListenableFuture<List<Recommendation>> apply(final List<Destination> input) throws Exception {
final List<Recommendation> recommendations = Lists.newArrayList(Lists.transform(input,
new Function<Destination, Recommendation>() {
@Override
public Recommendation apply(final Destination input) {
return new Recommendation(input.getDestination(), null, 0);
}
}));
return Futures.immediateFuture(recommendations);
}
});