Merge pull request #12139 from israelekpo/patch-1
BulkRequestBuilder.add() has typo in JavaDoc.
This commit is contained in:
commit
5a84e5264d
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue