CacheUtil 去除 误导注释

v1.4.1
hiparker 4 years ago
parent ff74b385ca
commit e79d666800

@ -805,11 +805,8 @@ public class CacheUtil {
public void init(CacheProperties cacheProperties, public void init(CacheProperties cacheProperties,
RedisPlugin redisPlugin, RedisPlugin redisPlugin,
EhCachePlugin ehCachePlugin){ EhCachePlugin ehCachePlugin){
if(cacheProperties != null){
// 获得 超级管理员
CacheUtil.PREFIX_NAME = Convert.toStr(cacheProperties.getPrefix(), "opsli") + ":";
}
CacheUtil.PREFIX_NAME = Convert.toStr(cacheProperties.getPrefix(), "opsli") + ":";
CacheUtil.redisPlugin = redisPlugin; CacheUtil.redisPlugin = redisPlugin;
CacheUtil.ehCachePlugin = ehCachePlugin; CacheUtil.ehCachePlugin = ehCachePlugin;

Loading…
Cancel
Save