Skip to content

Commit 4c7f0de

Browse files
vbabaninCopilot
andauthored
Update driver-core/src/main/com/mongodb/internal/async/AsyncRunnable.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent dbbe307 commit 4c7f0de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/main/com/mongodb/internal/async/AsyncRunnable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ default AsyncRunnable thenRunRetryingWhile(
247247
* This method is equivalent to a while loop, where the condition is checked before each iteration.
248248
* If the condition returns {@code false} on the first check, the body is never executed.
249249
*
250-
* @param loopBodyRunnable the asynchronous task to be executed in each iteration of the loop
251250
* @param whileCheck a condition to check before each iteration; the loop continues as long as this condition returns true
251+
* @param loopBodyRunnable the asynchronous task to be executed in each iteration of the loop
252252
* @return the composition of this and the looping branch
253253
* @see AsyncCallbackLoop
254254
*/

0 commit comments

Comments
 (0)