Adapt changes in AcknowledgeResponse

Relates #30983
This commit is contained in:
Nhat Nguyen 2018-06-04 14:47:22 -04:00
parent d9a0a02e89
commit 87abb49145
2 changed files with 0 additions and 25 deletions

View File

@ -143,18 +143,6 @@ public class FollowIndexAction extends Action<FollowIndexAction.Request, FollowI
Response(boolean acknowledged) {
super(acknowledged);
}
@Override
public void readFrom(StreamInput in) throws IOException {
super.readFrom(in);
readAcknowledged(in);
}
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
writeAcknowledged(out);
}
}
public static class TransportAction extends HandledTransportAction<Request, Response> {

View File

@ -83,19 +83,6 @@ public class UnfollowIndexAction extends Action<UnfollowIndexAction.Request, Unf
Response() {
}
@Override
public void readFrom(StreamInput in) throws IOException {
super.readFrom(in);
readAcknowledged(in);
}
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
writeAcknowledged(out);
}
}
public static class RequestBuilder extends ActionRequestBuilder<Request, Response> {