提交 e5c3d296 编写于 作者: 梦境迷离's avatar 梦境迷离

fix

上级 47269317
......@@ -46,8 +46,8 @@ trait CacheAdapter[V] {
object CacheAdapter {
def adapted[V](cacheType: CacheStrategy): CacheAdapter[V] =
cacheType match {
def adapted[V](cacheStrategy: CacheStrategy): CacheAdapter[V] =
cacheStrategy match {
case CacheStrategy.Lru(maxSize) =>
new LruHashMapCacheAdapter(
Collections.synchronizedMap(new java.util.LinkedHashMap[String, V](16, 0.75f, true) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册