Permalink
Browse files

IndexMetaData.Builder.Index(String name) isn't renaming this.index

fixed #2236.
  • Loading branch information...
1 parent e232162 commit 0b3e95cefc28b69e1eaf4795c047ad749179d562 @kimchy kimchy committed Sep 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java
@@ -344,7 +344,7 @@ public String index() {
return index;
}
- public Builder index(String name) {
+ public Builder index(String index) {
this.index = index;
return this;
}

0 comments on commit 0b3e95c

Please sign in to comment.