Skip to content

Commit 87abb49

Browse files
committed
Adapt changes in AcknowledgeResponse
Relates #30983
1 parent d9a0a02 commit 87abb49

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
@@ -143,18 +143,6 @@ public static class Response extends AcknowledgedResponse {
143143
Response(boolean acknowledged) {
144144
super(acknowledged);
145145
}
146-
147-
@Override
148-
public void readFrom(StreamInput in) throws IOException {
149-
super.readFrom(in);
150-
readAcknowledged(in);
151-
}
152-
153-
@Override
154-
public void writeTo(StreamOutput out) throws IOException {
155-
super.writeTo(out);
156-
writeAcknowledged(out);
157-
}
158146
}
159147

160148
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
@@ -83,19 +83,6 @@ public static class Response extends AcknowledgedResponse {
8383

8484
Response() {
8585
}
86-
87-
@Override
88-
public void readFrom(StreamInput in) throws IOException {
89-
super.readFrom(in);
90-
readAcknowledged(in);
91-
}
92-
93-
@Override
94-
public void writeTo(StreamOutput out) throws IOException {
95-
super.writeTo(out);
96-
writeAcknowledged(out);
97-
}
98-
9986
}
10087

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

0 commit comments

Comments
 (0)