From 9aea670c5e64f6eb63e1a2287e29aa6090e7e377 Mon Sep 17 00:00:00 2001 From: jaymode Date: Mon, 6 Jan 2020 08:37:49 -0700 Subject: [PATCH] Remove unused IndicesOptions#fromByte method 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. --- .../action/support/IndicesOptions.java | 36 ------------------- .../action/support/IndicesOptionsTests.java | 25 ------------- 2 files changed, 61 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 25e7a25335d66..e830ed8795608 100644 --- a/server/src/main/java/org/elasticsearch/action/support/IndicesOptions.java +++ b/server/src/main/java/org/elasticsearch/action/support/IndicesOptions.java @@ -118,42 +118,6 @@ private IndicesOptions(Collection