Skip to content

Commit 9c8a387

Browse files
torgeirChristoph Büscher
authored andcommitted
Fix erroneous docstrings for abstract bulk by scroll request (#37517)
1 parent 2a13652 commit 9c8a387

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/src/main/java/org/elasticsearch/index/reindex/AbstractBulkByScrollRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,14 @@ public Self setSize(int size) {
185185
}
186186

187187
/**
188-
* Should version conflicts cause aborts? Defaults to false.
188+
* Whether or not version conflicts cause the action to abort.
189189
*/
190190
public boolean isAbortOnVersionConflict() {
191191
return abortOnVersionConflict;
192192
}
193193

194194
/**
195-
* Should version conflicts cause aborts? Defaults to false.
195+
* Set whether or not version conflicts cause the action to abort.
196196
*/
197197
public Self setAbortOnVersionConflict(boolean abortOnVersionConflict) {
198198
this.abortOnVersionConflict = abortOnVersionConflict;

server/src/main/java/org/elasticsearch/index/reindex/AbstractBulkByScrollRequestBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public Self size(int size) {
7575
}
7676

7777
/**
78-
* Should we version conflicts cause the action to abort?
78+
* Set whether or not version conflicts cause the action to abort.
7979
*/
8080
public Self abortOnVersionConflict(boolean abortOnVersionConflict) {
8181
request.setAbortOnVersionConflict(abortOnVersionConflict);

0 commit comments

Comments
 (0)