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

fixed #2236.
This commit is contained in:
Shay Banon 2012-09-06 16:30:05 +02:00
parent 162dfb7011
commit f2db8eaca2
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ public class IndexMetaData {
return index; return index;
} }
public Builder index(String name) { public Builder index(String index) {
this.index = index; this.index = index;
return this; return this;
} }