From f2db8eaca2280855c5969a0517fb12eabe51c792 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Thu, 6 Sep 2012 16:30:05 +0200 Subject: [PATCH] IndexMetaData.Builder.Index(String name) isn't renaming this.index fixed #2236. --- .../java/org/elasticsearch/cluster/metadata/IndexMetaData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java b/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java index 101dbbe6c94..8890a046b96 100644 --- a/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java +++ b/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java @@ -414,7 +414,7 @@ public class IndexMetaData { return index; } - public Builder index(String name) { + public Builder index(String index) { this.index = index; return this; }