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 IpBlock API (#141)
Date Tue, 03 Mar 2015 21:40:34 GMT
> +
> +import com.google.auto.value.AutoValue;
> +import com.google.common.collect.ImmutableList;
> +import java.util.List;
> +import org.jclouds.javax.annotation.Nullable;
> +
> +@AutoValue
> +public abstract class IpBlock {
> +
> +   public abstract String id();
> +
> +   public abstract Location location();
> +
> +   public abstract List<PublicIp> publicIps();
> +
> +   @Nullable

This is no longer nullable since the factory method sets it to an empty list if the input
parameter is null. Remove the annotation or keep the null value when the input is null.

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