Skip to content

Commit 2f5dbc9

Browse files
More comment fixes
1 parent 5f7ac45 commit 2f5dbc9

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
@@ -107,7 +107,7 @@ public ImmutableSortedMap<DocumentKey, Document> getDocumentsMatchingQuery(
107107
private @Nullable ImmutableSortedMap<DocumentKey, Document> performQueryUsingIndex(
108108
Query query, Target target) {
109109
if (query.matchesAllDocuments()) {
110-
// Don't use index queries that can be executed by scanning the collection.
110+
// Don't use indexes for queries that can be executed by scanning the collection.
111111
return null;
112112
}
113113

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

0 commit comments

Comments
 (0)