Skip to content

Commit d48504b

Browse files
committed
clean up unused function
1 parent 206606d commit d48504b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,9 @@ Document getDocument(DocumentKey key) {
102102
* <p>If we don't have cached state for a document in {@code keys}, a NoDocument will be stored
103103
* for that key in the resulting set.
104104
*/
105-
ImmutableSortedMap<DocumentKey, Document> getDocuments(
106-
Iterable<DocumentKey> keys, QueryContext counter) {
107-
Map<DocumentKey, MutableDocument> docs = remoteDocumentCache.getAll(keys, counter);
108-
return getLocalViewOfDocuments(docs, new HashSet<>());
109-
}
110-
111105
ImmutableSortedMap<DocumentKey, Document> getDocuments(Iterable<DocumentKey> keys) {
112-
return getDocuments(keys, new QueryContext());
106+
Map<DocumentKey, MutableDocument> docs = remoteDocumentCache.getAll(keys);
107+
return getLocalViewOfDocuments(docs, new HashSet<>());
113108
}
114109

115110
/**

0 commit comments

Comments
 (0)