@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof CatalogNode)) return false; CatalogNode that = (CatalogNode) o; return !(node != null ? !node.equals(that.node) : that.node != null) && !(services != null ? !services.equals(that.services) : that.services != null); }
@SuppressWarnings("SimplifiableIfStatement") @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ServiceHealth)) return false; ServiceHealth that = (ServiceHealth) o; if (checks != null ? !checks.equals(that.checks) : that.checks != null) return false; return !(node != null ? !node.equals(that.node) : that.node != null) && !(service != null ? !service.equals(that.service) : that.service != null); }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof CatalogNode)) return false; CatalogNode that = (CatalogNode) o; return !(node != null ? !node.equals(that.node) : that.node != null) && !(services != null ? !services.equals(that.services) : that.services != null); }
@SuppressWarnings("SimplifiableIfStatement") @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ServiceHealth)) return false; ServiceHealth that = (ServiceHealth) o; if (checks != null ? !checks.equals(that.checks) : that.checks != null) return false; return !(node != null ? !node.equals(that.node) : that.node != null) && !(service != null ? !service.equals(that.service) : that.service != null); }