Renamed ClusterBlocks variable named "block" to "blocks".

"blocks" has been used 9 times for variable names of type
ClusterBlocks but block has been used only this case. It
seems to be a typo.
This commit is contained in:
Miltos Allamanis 2014-02-10 19:20:24 +00:00 committed by Luca Cavanna
parent 40a1ac82ef
commit dc15dee323
1 changed files with 2 additions and 2 deletions

View File

@ -497,8 +497,8 @@ public class ClusterState implements ToXContent {
return blocks(blocksBuilder.build());
}
public Builder blocks(ClusterBlocks block) {
this.blocks = block;
public Builder blocks(ClusterBlocks blocks) {
this.blocks = blocks;
return this;
}