wultra / enrollment-server

Base implementation of the enrollment server, usable as the stub for project bootstrapping.
GNU Affero General Public License v3.0
4 stars 1 forks source link

Remove caffeine dependency #1019

Open banterCZ opened 6 months ago

banterCZ commented 6 months ago

The guava cache has been replaced by the recommended caffeine library, but for the mock purpose LinkedHashMap#removeEldestEntry could be enough.

https://github.com/wultra/enrollment-server/blob/7af9241e3011508fdee5a592fdba37e423c347e7/enrollment-server-onboarding/src/main/java/com/wultra/app/onboardingserver/docverify/mock/provider/WultraMockDocumentVerificationProvider.java#L68

A follow-up to #978