Skip to content

Commit 8578caf

Browse files
committed
Adapt changes in AcknowledgeResponse
Relates #30983
1 parent 0b26d22 commit 8578caf

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/FollowIndexAction.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -149,18 +149,6 @@ public static class Response extends AcknowledgedResponse {
149149
Response(boolean acknowledged) {
150150
super(acknowledged);
151151
}
152-
153-
@Override
154-
public void readFrom(StreamInput in) throws IOException {
155-
super.readFrom(in);
156-
readAcknowledged(in);
157-
}
158-
159-
@Override
160-
public void writeTo(StreamOutput out) throws IOException {
161-
super.writeTo(out);
162-
writeAcknowledged(out);
163-
}
164152
}
165153

166154
public static class TransportAction extends HandledTransportAction<Request, Response> {

x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/UnfollowIndexAction.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,19 +89,6 @@ public static class Response extends AcknowledgedResponse {
8989

9090
Response() {
9191
}
92-
93-
@Override
94-
public void readFrom(StreamInput in) throws IOException {
95-
super.readFrom(in);
96-
readAcknowledged(in);
97-
}
98-
99-
@Override
100-
public void writeTo(StreamOutput out) throws IOException {
101-
super.writeTo(out);
102-
writeAcknowledged(out);
103-
}
104-
10592
}
10693

10794
public static class RequestBuilder extends ActionRequestBuilder<Request, Response, RequestBuilder> {

0 commit comments

Comments
 (0)