> + @Override
> + public int hashCode() {
> + return Objects.hashCode(projectId);
> + }
> +
> + @Override
> + public boolean equals(Object obj) {
> + if (this == obj) return true;
> + if (obj == null || getClass() != obj.getClass()) return false;
> + SnapshotExtendedAttributes that =
> SnapshotExtendedAttributes.class.cast(obj);
> + return Objects.equal(this.projectId, that.projectId);
> + }
> +
> + protected Objects.ToStringHelper string() {
> + return Objects.toStringHelper(this)
> + .add("extendedAttributes", projectId);
This should match the name of the field in the class: `.add("projectId",
projectId);` This will also apply to the `progress` field (when added).
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/562/files#r19347993