> +            Objects.equal(this.tenantId, that.tenantId) &&
> +            Objects.equal(this.floatingNetworkId, that.floatingNetworkId) &&
> +            Objects.equal(this.fixedIpAddress, that.fixedIpAddress) &&
> +            Objects.equal(this.floatingIpAddress, that.floatingIpAddress) &&
> +            Objects.equal(this.portId, that.portId);
> +   }
> +
> +   @Override
> +   public int hashCode() {
> +      return Objects.hashCode(id, routerId, tenantId, floatingNetworkId, 
> fixedIpAddress, floatingIpAddress,
> +            portId);
> +   }
> +
> +   @Override
> +   public String toString() {
> +      return MoreObjects.toStringHelper(this)

@demobox I have pondered using 
[`omitNullValues()`](http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/MoreObjects.ToStringHelper.html#omitNullValues())
 as well! I see the value in presenting *all* values to the user; `null` and 
`""`, in some cases.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/135/files#r16879571

Reply via email to