Fix erroneous docstrings for abstract bulk by scroll request (#37517)

This commit is contained in:
Torgeir Thoresen 2019-01-17 10:22:49 +01:00 committed by Christoph Büscher
parent 1686c32ba9
commit 676e1b1a13
2 changed files with 3 additions and 3 deletions

View File

@ -185,14 +185,14 @@ public abstract class AbstractBulkByScrollRequest<Self extends AbstractBulkByScr
}
/**
* Should version conflicts cause aborts? Defaults to false.
* Whether or not version conflicts cause the action to abort.
*/
public boolean isAbortOnVersionConflict() {
return abortOnVersionConflict;
}
/**
* Should version conflicts cause aborts? Defaults to false.
* Set whether or not version conflicts cause the action to abort.
*/
public Self setAbortOnVersionConflict(boolean abortOnVersionConflict) {
this.abortOnVersionConflict = abortOnVersionConflict;

View File

@ -75,7 +75,7 @@ public abstract class AbstractBulkByScrollRequestBuilder<
}
/**
* Should we version conflicts cause the action to abort?
* Set whether or not version conflicts cause the action to abort.
*/
public Self abortOnVersionConflict(boolean abortOnVersionConflict) {
request.setAbortOnVersionConflict(abortOnVersionConflict);