jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] Add nova neutron support (#311)
Date Sat, 08 Mar 2014 19:55:21 GMT
> +
> +      /**
> +       * @param in The target Network
> +       * @return A Builder from the provided Network
> +       */
> +      public Builder fromNetwork(Network in) {
> +         return this
> +               .networkUuid(in.getNetworkUuid())
> +               .portUuid(in.getPortUuid())
> +               .fixedIp(in.getFixedIp());
> +      }        
> +   }
> +
> +   @Override
> +   public int compareTo(Network that) {
> +      return this.toString().compareTo(that.toString());

Compare based on strings? Do we know that `Objects.toStringHelper` is sufficiently deterministic?

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