Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share common readFrom/writeTo code in AcknowledgeResponse 6x #31071

Merged
merged 2 commits into from
Jun 5, 2018

Conversation

cbuescher
Copy link
Member

Backport of #30983, PR opened only for CI.

@cbuescher cbuescher added :Core/Infra/Core Core issues without another label >refactoring labels Jun 4, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Christoph Büscher added 2 commits June 5, 2018 10:02
)

The majority of Responses inheriting from AcknowledgeResponse implement
the readFrom and writeTo serialization method in the same way. Moving this
as a default into AcknowledgeResponse and letting the few exceptions that
need a slightly different implementation handle this themselves saves a lot
of duplication.
@cbuescher cbuescher force-pushed the cleanup-AckResponse-6x branch from f347959 to 89ae9ba Compare June 5, 2018 08:02
@cbuescher
Copy link
Member Author

run sample packaging tests

@cbuescher cbuescher merged commit f485e8c into elastic:6.x Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants