> + @Override
> + public boolean equals(Object obj) {
> + if (this == obj) return true;
> + if (obj == null || getClass() != obj.getClass()) return false;
> + Project that = Project.class.cast(obj);
> + return Objects.equal(this.id, that.id)
> + && Objects.equal(this.account, that.account)
> + && Objects.equal(this.displayText, that.displayText)
> + && Objects.equal(this.domain, that.domain)
> + && Objects.equal(this.domainId, that.domainId)
> + && Objects.equal(this.name, that.name)
> + && Objects.equal(this.state, that.state);
> + }
> +
> + protected ToStringHelper string() {
> + return Objects.toStringHelper(this)
Compare, probably...but in a `toString`? I recall places where we do
`omitNullValues`, that's all that prompted the comment.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/215/files#r7931611