> +
> +   @Override
> +   public int hashCode() {
> +      return Objects.hashCode(id);
> +   }
> +
> +   @Override
> +   public boolean equals(Object obj) {
> +      if (this == obj) return true;
> +      if (obj == null || getClass() != obj.getClass()) return false;
> +      TokenCredentials that = TokenCredentials.class.cast(obj);
> +      return Objects.equal(this.id, that.id);
> +   }
> +
> +   protected ToStringHelper string() {
> +      return Objects.toStringHelper(this)

The `Objects` class has been replaced in with 
[`MoreObjects`](http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/MoreObjects.html)
 

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/433/files#r16724380

Reply via email to