> +         this.recipes.addAll(checkNotNull(recipes, "recipes"));
> +         return this;
> +      }
> +
> +      public Builder rootFile(Resource rootFile) {
> +         this.rootFiles.add(checkNotNull(rootFile, "rootFile"));
> +         return this;
> +      }
> +
> +      public Builder rootFiles(Iterable<Resource> rootFiles) {
> +         this.rootFiles.addAll(checkNotNull(rootFiles, "rootFiles"));
> +         return this;
> +      }
> +
> +      public CookbookVersion build() {
> +         return new CookbookVersion(checkNotNull(cookbookName, "name") + "-" 
> + checkNotNull(version, "version"),

If these have to be set, perhaps make them constructor arguments of the 
`Builder`?

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

Reply via email to