> @@ -133,13 +136,14 @@
>     protected TemplateBuilderImpl(@Memoized Supplier<Set<? extends Location>> 
> locations,
>           @Memoized Supplier<Set<? extends Image>> images, @Memoized 
> Supplier<Set<? extends Hardware>> hardwares,
>           Supplier<Location> defaultLocation2, @Named("DEFAULT") 
> Provider<TemplateOptions> optionsProvider,
> -         @Named("DEFAULT") Provider<TemplateBuilder> 
> defaultTemplateProvider) {
> -      this.locations = locations;
> -      this.images = images;
> -      this.hardwares = hardwares;
> -      this.defaultLocation = defaultLocation2;
> -      this.optionsProvider = optionsProvider;
> -      this.defaultTemplateProvider = defaultTemplateProvider;
> +         @Named("DEFAULT") Provider<TemplateBuilder> 
> defaultTemplateProvider, GetImageStrategy getImageStrategy) {
> +      this.locations = checkNotNull(locations, "locations");
> +      this.images = checkNotNull(images, "locations");
> +      this.hardwares = checkNotNull(hardwares, "hardwares");
> +      this.defaultLocation = checkNotNull(defaultLocation2, 
> "defaultLocation2");

Why "defaultLocation2", by the way?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/396/files#r13522272

Reply via email to