diff options
author | Greg Soltis <gsoltis@google.com> | 2018-03-29 08:55:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 08:55:10 -0700 |
commit | d9b2d312d94387f337c95cb442b828a312bbf18c (patch) | |
tree | 68a0ca0d3ce1380e9d68496907ca6fca8c40d575 /Firestore/Source/Local/FSTMemoryRemoteDocumentCache.mm | |
parent | cb1f65dfcf78a6cfc11915c2c5695fa023cf3e09 (diff) |
Remove some usages of FSTWriteGroup (#983)
* FSTMutationQueue no longer needs groups
* Remove write group from mutation queue entirely
* Remove write group from query cache
* Mark groups unused in remote document cache
* Drop write group entirely from remote document cache
* style
* Drop commented-out code
* Drop commented-out code
Diffstat (limited to 'Firestore/Source/Local/FSTMemoryRemoteDocumentCache.mm')
-rw-r--r-- | Firestore/Source/Local/FSTMemoryRemoteDocumentCache.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firestore/Source/Local/FSTMemoryRemoteDocumentCache.mm b/Firestore/Source/Local/FSTMemoryRemoteDocumentCache.mm index c35c23d..9289e60 100644 --- a/Firestore/Source/Local/FSTMemoryRemoteDocumentCache.mm +++ b/Firestore/Source/Local/FSTMemoryRemoteDocumentCache.mm @@ -45,11 +45,11 @@ NS_ASSUME_NONNULL_BEGIN - (void)shutdown { } -- (void)addEntry:(FSTMaybeDocument *)document group:(FSTWriteGroup *)group { +- (void)addEntry:(FSTMaybeDocument *)document { self.docs = [self.docs dictionaryBySettingObject:document forKey:document.key]; } -- (void)removeEntryForKey:(const DocumentKey &)key group:(FSTWriteGroup *)group { +- (void)removeEntryForKey:(const DocumentKey &)key { self.docs = [self.docs dictionaryByRemovingObjectForKey:key]; } |