> @@ -115,6 +138,26 @@ 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 instanceof Account) {
> + final Account other = Account.class.cast(object);
Do you want to use the cast operator instead of the class cast method:
http://stackoverflow.com/questions/1555326/java-class-cast-vs-cast-operator
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/17/files#r5325800