@Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final OIndexMetadata that = (OIndexMetadata) o; if (algorithm != null ? !algorithm.equals(that.algorithm) : that.algorithm != null) return false; if (!clustersToIndex.equals(that.clustersToIndex)) return false; if (indexDefinition != null ? !indexDefinition.equals(that.indexDefinition) : that.indexDefinition != null) return false; if (!name.equals(that.name)) return false; if (!type.equals(that.type)) return false; return true; }
++differences; continue; } else if (indexOne.getDefinition() != null && !indexOne.getDefinition().equals(indexTwo.getDefinition())) { ok = false; listener.onMessage("\n- ERR: Index definitions for index " + indexOne.getName() + " are different.");