Merge pull request #12139 from israelekpo/patch-1

BulkRequestBuilder.add() has typo in JavaDoc.
This commit is contained in:
David Pilato 2015-07-09 02:12:54 -04:00
commit 5a84e5264d
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) { public BulkRequestBuilder add(UpdateRequest request) {
super.request.add(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) { public BulkRequestBuilder add(UpdateRequestBuilder request) {
super.request.add(request.request()); super.request.add(request.request());
@ -148,4 +148,4 @@ public class BulkRequestBuilder extends ActionRequestBuilder<BulkRequest, BulkRe
public int numberOfActions() { public int numberOfActions() {
return request.numberOfActions(); return request.numberOfActions();
} }
} }