> +   }
> +
> +   @Override
> +   public boolean equals(Object object) {
> +      if (this == object) {
> +         return true;
> +      }
> +      if (object instanceof Account) {
> +         final Account other = Account.class.cast(object);
> +         return equal(getContainerCount(), other.getContainerCount())
> +               && equal(getObjectCount(), other.getObjectCount())
> +               && equal(getBytesUsed(), other.getBytesUsed())
> +               && equal(getMetadata(), other.getMetadata());
> +      } else {
> +         return false;
> +      }

Rewrite this to use the "equals pattern" in e.g. 
[RegionAndName](https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jclouds/ec2/compute/domain/RegionAndName.java#L49)

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

Reply via email to