Skip to content

Commit e86c069

Browse files
committed
Add comment back.
1 parent 9766646 commit e86c069

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ IndexManager getIndexManager() {
8989
*/
9090
Document getDocument(DocumentKey key) {
9191
Mutation overlay = documentOverlayCache.getOverlay(key);
92+
// Only read from remote document cache if overlay is a patch.
9293
MutableDocument document =
9394
(overlay == null || overlay instanceof PatchMutation)
9495
? remoteDocumentCache.get(key)

0 commit comments

Comments
 (0)