From 22dc125dad6fd1db99dc30318046fd19bb3635dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Mon, 15 Jul 2019 11:52:38 +0200 Subject: [PATCH] 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. --- .../action/admin/indices/analyze/AnalyzeAction.java | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java b/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java index 91fc3443354..def935bcf72 100644 --- a/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java +++ b/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java @@ -301,7 +301,6 @@ public class AnalyzeAction extends ActionType { } 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;