@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ReshardingStatus == false) return false; ReshardingStatus other = (ReshardingStatus) obj; if (other.getSlotMigration() == null ^ this.getSlotMigration() == null) return false; if (other.getSlotMigration() != null && other.getSlotMigration().equals(this.getSlotMigration()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ReshardingStatus == false) return false; ReshardingStatus other = (ReshardingStatus) obj; if (other.getSlotMigration() == null ^ this.getSlotMigration() == null) return false; if (other.getSlotMigration() != null && other.getSlotMigration().equals(this.getSlotMigration()) == false) return false; return true; }