> +
> +   public ZoneState getState() {
> +      return this.state;
> +   }
> +
> +   @Override
> +   public int hashCode() {
> +      return Objects.hashCode(name, state);
> +   }
> +
> +   @Override
> +   public boolean equals(Object obj) {
> +      if (this == obj) return true;
> +      if (obj == null || getClass() != obj.getClass()) return false;
> +      AvailabilityZone that = AvailabilityZone.class.cast(obj);
> +      return Objects.equal(this.name, that.name) && 
> this.state.equals(that.state);

```java
return Objects.equal(this.name, that.name) && Objects.equal(this.state, 
that.state);
```

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

Reply via email to