> + Service service = (Service) o;
> +
> + if (binary != null ? !binary.equals(service.binary) : service.binary
> != null) return false;
> + if (host != null ? !host.equals(service.host) : service.host != null)
> return false;
> + if (state != null ? !state.equals(service.state) : service.state !=
> null) return false;
> + if (status != null ? !status.equals(service.status) : service.status
> != null) return false;
> + if (disabledReason != null ?
> !disabledReason.equals(service.disabledReason) : service.disabledReason !=
> null) return false;
> + if (updated != null ? !updated.equals(service.updated) :
> service.updated != null) return false;
> + if (zone != null ? !zone.equals(service.zone) : service.zone != null)
> return false;
> + if (id != null ? !id.equals(service.id) : service.id != null) return
> false;
> +
> + return true;
> + }
> +
> + @Override
> + public int hashCode() {
In general, prefer `Objects.hashCode(...)`. Here is an example in the Nova
[Network](https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/domain/Network.java#L71)
class.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/573/files#r19228903