From 6088af5887b50e1bcc794375c4e6582ea61ff3c9 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Mon, 12 Mar 2018 14:17:56 -0400 Subject: [PATCH] Fix comment regarding removal of requiresKeystore The requiresKeystore flag was removed from PluginInfo in 6.3.0. This commit fixes a pair of code comments that incorrectly refer to this version as 7.0.0. --- .../src/main/java/org/elasticsearch/plugins/PluginInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/plugins/PluginInfo.java b/server/src/main/java/org/elasticsearch/plugins/PluginInfo.java index eace29a7801..37f4fcc9535 100644 --- a/server/src/main/java/org/elasticsearch/plugins/PluginInfo.java +++ b/server/src/main/java/org/elasticsearch/plugins/PluginInfo.java @@ -115,7 +115,7 @@ public class PluginInfo implements Writeable, ToXContentObject { } if (in.getVersion().onOrAfter(Version.V_6_0_0_beta2) && in.getVersion().before(Version.V_6_3_0)) { /* - * Elasticsearch versions in [6.0.0-beta2, 7.0.0) allowed plugins to specify that they require the keystore and this was + * Elasticsearch versions in [6.0.0-beta2, 6.3.0) allowed plugins to specify that they require the keystore and this was * serialized into the plugin info. Therefore, we have to read and ignore this value from the stream. */ in.readBoolean(); @@ -140,7 +140,7 @@ public class PluginInfo implements Writeable, ToXContentObject { } if (out.getVersion().onOrAfter(Version.V_6_0_0_beta2) && out.getVersion().before(Version.V_6_3_0)) { /* - * Elasticsearch versions in [6.0.0-beta2, 7.0.0) allowed plugins to specify that they require the keystore and this was + * Elasticsearch versions in [6.0.0-beta2, 6.3.0) allowed plugins to specify that they require the keystore and this was * serialized into the plugin info. Therefore, we have to write out a value for this boolean. */ out.writeBoolean(false);