Skip to content

Commit 2cbed1d

Browse files
More comment fixes (#3649)
1 parent 6f030e0 commit 2cbed1d

File tree

1 file changed

+2
-2
lines changed
  • firebase-firestore/src/main/java/com/google/firebase/firestore/local

1 file changed

+2
-2
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/local/QueryEngine.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public ImmutableSortedMap<DocumentKey, Document> getDocumentsMatchingQuery(
105105
*/
106106
private @Nullable ImmutableSortedMap<DocumentKey, Document> performQueryUsingIndex(Query query) {
107107
if (query.matchesAllDocuments()) {
108-
// Don't use index queries that can be executed by scanning the collection.
108+
// Don't use indexes for queries that can be executed by scanning the collection.
109109
return null;
110110
}
111111

@@ -153,7 +153,7 @@ && needsRefill(query.getLimitType(), keys.size(), previousResults, offset.getRea
153153
ImmutableSortedSet<DocumentKey> remoteKeys,
154154
SnapshotVersion lastLimboFreeSnapshotVersion) {
155155
if (query.matchesAllDocuments()) {
156-
// Don't use index queries that can be executed by scanning the collection.
156+
// Don't use indexes for queries that can be executed by scanning the collection.
157157
return null;
158158
}
159159

0 commit comments

Comments
 (0)