> +   private final long operationCompleteCheckInterval;
> +   private final long operationCompleteCheckTimeout;
> +
> +   @Inject
> +   public CreateNetworkIfNeeded(GoogleComputeEngineApi api,
> +                                @UserProject Supplier<String> userProject,
> +                                @Named("global") 
> Predicate<AtomicReference<Operation>> operationDonePredicate,
> +                                @Named(OPERATION_COMPLETE_INTERVAL) Long 
> operationCompleteCheckInterval,
> +                                @Named(OPERATION_COMPLETE_TIMEOUT) Long 
> operationCompleteCheckTimeout) {
> +      this.api = checkNotNull(api, "api");
> +      this.userProject = checkNotNull(userProject, "userProject");
> +      this.operationCompleteCheckInterval = 
> checkNotNull(operationCompleteCheckInterval,
> +              "operation completed check interval");
> +      this.operationCompleteCheckTimeout = 
> checkNotNull(operationCompleteCheckTimeout,
> +              "operation completed check timeout");
> +      this.operationDonePredicate = operationDonePredicate;

Null check?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/5/files#r7380902

Reply via email to