Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unnecessary generic / lamda in CharDeduplication#CacheReference
CharDeduplication#CacheReference uses generics with a lamda supplier to handle a SoftReference to the cache, but this generalization/abstraction is actually not needed or used anywhere. This removes the CacheReference and implements its functionality directly in the CharDeduplication#getThreadLocalInstance making it easier to follow the flow and not creating lamda instance indirections.
- Loading branch information