Skip to content

Commit

Permalink
clean up unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylEnkidu committed Jun 27, 2023
1 parent 206606d commit d48504b
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,9 @@ Document getDocument(DocumentKey key) {
* <p>If we don't have cached state for a document in {@code keys}, a NoDocument will be stored
* for that key in the resulting set.
*/
ImmutableSortedMap<DocumentKey, Document> getDocuments(
Iterable<DocumentKey> keys, QueryContext counter) {
Map<DocumentKey, MutableDocument> docs = remoteDocumentCache.getAll(keys, counter);
return getLocalViewOfDocuments(docs, new HashSet<>());
}

ImmutableSortedMap<DocumentKey, Document> getDocuments(Iterable<DocumentKey> keys) {
return getDocuments(keys, new QueryContext());
Map<DocumentKey, MutableDocument> docs = remoteDocumentCache.getAll(keys);
return getLocalViewOfDocuments(docs, new HashSet<>());
}

/**
Expand Down

0 comments on commit d48504b

Please sign in to comment.