@@ -405,9 +405,10 @@ public Query collectionGroup(@NonNull String collectionId) {
405
405
}
406
406
407
407
/**
408
- * Executes the given updateFunction and then attempts to commit the changes applied within the
409
- * transaction. If any document read within the transaction has changed, the updateFunction will
410
- * be retried. If it fails to commit after 5 attempts, the transaction will fail.
408
+ * Executes the given {@code updateFunction} and then attempts to commit the changes applied
409
+ * within the transaction. If any document read within the transaction has changed, the
410
+ * updateFunction will be retried. If it fails to commit after 5 attempts, the transaction will
411
+ * fail.
411
412
*
412
413
* <p>The maximum number of writes allowed in a single transaction is 500, but note that each
413
414
* usage of {@link FieldValue#serverTimestamp()}, {@link FieldValue#arrayUnion(Object...)}, {@link
@@ -438,9 +439,10 @@ private <ResultT> Task<ResultT> runTransaction(
438
439
}
439
440
440
441
/**
441
- * Executes the given updateFunction and then attempts to commit the changes applied within the
442
- * transaction. If any document read within the transaction has changed, the updateFunction will
443
- * be retried. If it fails to commit after 5 attempts, the transaction will fail.
442
+ * Executes the given {@code updateFunction} and then attempts to commit the changes applied
443
+ * within the transaction. If any document read within the transaction has changed, the
444
+ * updateFunction will be retried. If it fails to commit after 5 attempts, the transaction will
445
+ * fail.
444
446
*
445
447
* @param updateFunction The function to execute within the transaction context.
446
448
* @return The task returned from the updateFunction.
@@ -452,12 +454,12 @@ public <TResult> Task<TResult> runTransaction(
452
454
}
453
455
454
456
/**
455
- * Executes the given updateFunction and then attempts to commit the changes applied within the
456
- * transaction. If any document read within the transaction has changed, the updateFunction will
457
- * be retried. If it fails to commit after the maxmimum number of attempts specified in
458
- * transactionOptions, the transaction will fail.
457
+ * Executes the given {@code updateFunction} and then attempts to commit the changes applied
458
+ * within the transaction. If any document read within the transaction has changed, the
459
+ * updateFunction will be retried. If it fails to commit after the maxmimum number of attempts
460
+ * specified in transactionOptions, the transaction will fail.
459
461
*
460
- * @param options The function to execute within the transaction context .
462
+ * @param options The transaction options for controlling execution .
461
463
* @param updateFunction The function to execute within the transaction context.
462
464
* @return The task returned from the updateFunction.
463
465
*/
0 commit comments