> + * Tests that a Zone Operation is done, returning the completed Operation
> when it is.
> + *
> + * @author David Alves
> + */
> +public class ZoneOperationDonePredicate implements
> Predicate<AtomicReference<Operation>> {
> +
> + private final GoogleComputeEngineApi api;
> + private final Supplier<String> project;
> + 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;
Null checks needed or can never be null?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/16/files#r5362879