Skip to content

Commit

Permalink
Adapt changes in AcknowledgeResponse
Browse files Browse the repository at this point in the history
Relates #30983
  • Loading branch information
dnhatn committed Jun 4, 2018
1 parent d9a0a02 commit 87abb49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,6 @@ public static class Response extends AcknowledgedResponse {
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> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,6 @@ public static class Response extends AcknowledgedResponse {

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> {
Expand Down

0 comments on commit 87abb49

Please sign in to comment.