From e5191e77e37b1cfc542b89045e0a1f954278de39 Mon Sep 17 00:00:00 2001 From: Jay Modi Date: Mon, 6 Jan 2020 14:57:10 -0700 Subject: [PATCH] Remove unused IndicesOptions#fromByte method (#50683) This change removes a no longer used method, `fromByte`, in IndicesOptions. This method was necessary for backwards compatibility with versions prior to 6.4.0 and was used when talking to those versions. However, the minimum wire compatibility version has changed and we no longer use this code. Backport of #50665 --- .../action/support/IndicesOptions.java | 95 +------------------ .../settings/get/GetSettingsRequestTests.java | 23 ----- .../action/support/IndicesOptionsTests.java | 39 ++------ 3 files changed, 10 insertions(+), 147 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/action/support/IndicesOptions.java b/server/src/main/java/org/elasticsearch/action/support/IndicesOptions.java index 81364c31c9ed9..ac14f04fbc6b5 100644 --- a/server/src/main/java/org/elasticsearch/action/support/IndicesOptions.java +++ b/server/src/main/java/org/elasticsearch/action/support/IndicesOptions.java @@ -119,83 +119,6 @@ private IndicesOptions(Collection