Add isHidden to AliasActions equals/hashcode (#53700)

This commit adds the `isHidden` flag to the `equals` and
`hashCode` methods for `AliasActions`.
This commit is contained in:
Gordon Brown 2020-03-20 13:59:40 -06:00 committed by GitHub
parent 879e26ec06
commit f0674af132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -562,12 +562,13 @@ public class IndicesAliasesRequest extends AcknowledgedRequest<IndicesAliasesReq
&& Objects.equals(routing, other.routing)
&& Objects.equals(indexRouting, other.indexRouting)
&& Objects.equals(searchRouting, other.searchRouting)
&& Objects.equals(writeIndex, other.writeIndex);
&& Objects.equals(writeIndex, other.writeIndex)
&& Objects.equals(isHidden, other.isHidden);
}
@Override
public int hashCode() {
return Objects.hash(type, indices, aliases, filter, routing, indexRouting, searchRouting, writeIndex);
return Objects.hash(type, indices, aliases, filter, routing, indexRouting, searchRouting, writeIndex, isHidden);
}
}