> +      if (obj == null || getClass() != obj.getClass())
> +         return false;
> +      ObjectAccessControls that = ObjectAccessControls.class.cast(obj);
> +      return equal(this.kind, that.kind) && equal(this.bucket, that.bucket) 
> && equal(this.object, that.object)
> +               && equal(this.entity, that.entity);
> +   }
> +
> +   protected Objects.ToStringHelper string() {
> +      return super.string().omitNullValues().add("bucket", 
> bucket).add("entity", entity).add("entityId", entityId)
> +               .add("object", object).add("generation", 
> generation).add("role", role).add("email", email)
> +               .add("domain", domain).add("projectTeam", projectTeam);
> +   }
> +
> +   @Override
> +   public int hashCode() {
> +      return Objects.hashCode(kind, bucket, object, entity);

See @andrewgaul's question for `equals`

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/36/files#r17685035

Reply via email to