jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] Profitbricks REST - Datacenter (#225)
Date Tue, 15 Dec 2015 21:34:20 GMT
> +public abstract class FirewallRules {
> +
> +   public abstract String id();
> +
> +   public abstract String type();
> +
> +   public abstract String href();
> +
> +   public abstract List<FirewallRule> items();
> +
> +   @SerializedNames({"id", "type", "href", "items"})
> +   public static FirewallRules create(String id, String type, String href, List<FirewallRule>
items) {
> +      return new AutoValue_FirewallRules(id, type, href, items == null ? ImmutableList.<FirewallRule>of()
: copyOf(items));
> +   }
> +
> +}

Same here. Consider removing this wrapper class.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/225/files#r47701985
Mime
View raw message