> @@ -115,6 +137,22 @@ public String toString() {
> }
>
> protected ToStringHelper string() {
> - return toStringHelper("").add("containerCount",
> getContainerCount()).add("bytesUsed", getBytesUsed());
> + return super.string()
> + .add("containerCount", getContainerCount())
> + .add("objectCount", getObjectCount())
> + .add("bytesUsed", getBytesUsed());
> + }
> +
> + @Override
> + public boolean equals(Object object) {
> + if (this == object) return true;
> + if (object == null || getClass() != object.getClass()) return false;
> + Account that = Account.class.cast(object);
Use operator cast instead: (Account) object.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/17/files#r6380702