> + private final Supplier<Map<URI, ? extends Location>> zones;
> +
> + @Inject
> + ZoneOperationDonePredicate(GoogleComputeEngineApi api, @UserProject
> Supplier<String> project,
> + @Memoized Supplier<Map<URI, ? extends
> Location>> zones) {
> + this.api = api;
> + this.project = project;
> + this.zones = zones;
> + }
> +
> + @Override
> + public boolean apply(AtomicReference<Operation> input) {
> + checkNotNull(input, "input");
> + Operation current = api.getZoneOperationApiForProject(project.get())
> +
> .getInZone(zones.get().get(input.get().getZone().get()).getId(),
> + input.get().getName());
Aiaiaiaiaiaai....getitis! ;-) But not much you can do about that, I fear...
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/16/files#r5362887