BulkRequestBuilder.add() has typo in JavaDoc.

Closes #12138
This commit is contained in:
Israel Ekpo 2015-07-08 22:34:12 -04:00
parent 1504b3d97d
commit ee73056970
1 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ public class BulkRequestBuilder extends ActionRequestBuilder<BulkRequest, BulkRe
/**
* Adds an {@link DeleteRequest} to the list of actions to execute.
* Adds an {@link UpdateRequest} to the list of actions to execute.
*/
public BulkRequestBuilder add(UpdateRequest request) {
super.request.add(request);
@ -85,7 +85,7 @@ public class BulkRequestBuilder extends ActionRequestBuilder<BulkRequest, BulkRe
}
/**
* Adds an {@link DeleteRequest} to the list of actions to execute.
* Adds an {@link UpdateRequest} to the list of actions to execute.
*/
public BulkRequestBuilder add(UpdateRequestBuilder request) {
super.request.add(request.request());
@ -148,4 +148,4 @@ public class BulkRequestBuilder extends ActionRequestBuilder<BulkRequest, BulkRe
public int numberOfActions() {
return request.numberOfActions();
}
}
}