Skip to content

Commit

Permalink
Fix to ehcache
Browse files Browse the repository at this point in the history
  • Loading branch information
Idane committed Apr 12, 2021
1 parent 34e9cd8 commit 9e4d380
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import net.sf.ehcache.Element

class CrudEhCacheImpl(private val vendorCache: Ehcache) : CrudCache {
override fun get(key: Any): Any? {
return vendorCache.get(key)
return vendorCache.get(key)?.objectValue
}

override fun put(key: Any, value: Any?) {
Expand Down

0 comments on commit 9e4d380

Please sign in to comment.