> +         this.recommendations.put(checkNotNull(key, "key"), 
> checkNotNull(value, "value"));
> +         return this;
> +      }
> +
> +      public Builder recommendations(Map<String, String> recommendations) {
> +         this.recommendations.putAll(checkNotNull(recommendations, 
> "recommendations"));
> +         return this;
> +      }
> +
> +      public Metadata build() {
> +         return new Metadata(license, maintainer, suggestions.build(), 
> dependencies.build(), maintainerEmail,
> +               conflicting.build(), description, providing.build(), 
> platforms.build(), version, recipes.build(),
> +               replacing.build(), name, groupings.build(), longDescription, 
> attributes.build(), recommendations.build());
> +      }
> +
> +   }

Fff...I'm wondering...is there no builder code generation library out there..? 
;-)

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

Reply via email to