AnalyzeAction.Response doesn't need to call super.readFrom() (#44331)

The responses super.writeTo() method was removed in #44092, so the corresponding
contructor that reads from a stream shouldn't call super itself, even though its
implementation is currently empty.
This commit is contained in:
Christoph Büscher 2019-07-15 11:52:38 +02:00
parent 7f5d40d235
commit 22dc125dad
1 changed files with 0 additions and 1 deletions

View File

@ -301,7 +301,6 @@ public class AnalyzeAction extends ActionType<AnalyzeAction.Response> {
}
public Response(StreamInput in) throws IOException {
super.readFrom(in);
if (in.getVersion().onOrAfter(Version.V_7_3_0)) {
AnalyzeToken[] tokenArray = in.readOptionalArray(AnalyzeToken::new, AnalyzeToken[]::new);
tokens = tokenArray != null ? Arrays.asList(tokenArray) : null;