Commit acb3668f authored by Bill Wang's avatar Bill Wang
Browse files

update casting

parent e426950e
......@@ -47,7 +47,7 @@ public class CursorCacheImpl implements CursorCache {
if (this.local){
// local dummy cache, no need to close
}else{
((RedisCache)this.cache).close();
((AutoCloseable)this.cache).close();
}
}
/**
......
......@@ -68,7 +68,7 @@ public class IndexCacheImpl implements IIndexCache<String, Boolean>, AutoCloseab
if (this.local){
// local dummy cache, no need to close
}else{
((RedisCache)this.cache).close();
((AutoCloseable)this.cache).close();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment