Skip to content

Commit e306025

Browse files
Updating Comments
1 parent 37b6dcf commit e306025

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google-cloud-firestore/src/main/java/com/google/cloud/firestore/UpdateBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ private T performDelete(
459459

460460
/** Commit the current batch. */
461461
ApiFuture<List<WriteResult>> commit(@Nullable ByteString transactionId) {
462-
// We create our own copy of this array since we need to access it when processing the response.
462+
// We create our own copy of this list since we need to access it when processing the response.
463463
final ImmutableList<Write> writeRequests = ImmutableList.copyOf(this.writes);
464464

465465
CommitRequest.Builder request = CommitRequest.newBuilder();
@@ -494,7 +494,7 @@ public List<WriteResult> apply(CommitResponse commitResponse) {
494494
writeResults.iterator();
495495

496496
while (requestIterator.hasNext() && responseIterator.hasNext()) {
497-
// Don't return write results for document transforms, as the fact
497+
// Don't return write results for DocumentTransforms, as the fact
498498
// that we have to split one write operation into two distinct
499499
// write requests is an implementation detail.
500500
switch (requestIterator.next().getOperationCase()) {

0 commit comments

Comments
 (0)