> + return this;
> + }
> +
> + /**
> + * @param environment - used to affect the runtime behaviour of the
> template
> + */
> + public Builder environment(String environment) {
> + this.environment = environment;
> + return this;
> + }
> +
> + public CreateStack build() {
> + CreateStack result = new AutoValue_CreateStack(
> + this.name,
> + this.template != null ? template : null,
> + this.templateUrl != null ? templateUrl : null,
These null checks do nothing. Just assign the field.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/188/files#r28424340