Skip to content

Commit 0b9c509

Browse files
committed
Chore: Renamed Cache to LRUCache and extracted an interface and put under the old name to allow other implementations to be tested.
- Found and fixed minor bug where we tested max weight against count() instead of weight - Found and fixed minor issue with possible long overflow. - Adjusted tests but made explicit the ones who rely on the `LRUCache` implementation to test if settings are applied correctly. While CacheBuilder#build() returns a `Cache` it still always returns the `LRUCache` implementation
1 parent cec4ced commit 0b9c509

File tree

7 files changed

+942
-827
lines changed

7 files changed

+942
-827
lines changed

0 commit comments

Comments
 (0)