Comment 4 for bug 801700

Revision history for this message
Daniel Schürmann (daschuer) wrote :

I have reviewed the trackDao and added my results to the patch from #3. My additional changes are not relay a bug so I have decided not to create a new bug Id for it.

Following changes are incuded:
* Tracks are now removed from the weak cache if they are deleted.
* The list of dirty tracks is removed from the trackDao because no one is using it.
* I have made the weak cache static, because I think there should be only one weak cache to share tracks between several instances of trackDao. (Although, today only the track collection is using the cache)
* If a caller gets the track from the weak cache, it is now added to the strong cache again.