mirror of
https://gitee.com/smallc/blade-tool.git
synced 2026-07-10 18:39:44 +08:00
✨ 代码优化
This commit is contained in:
parent
7b0eb4104d
commit
bbc941471f
|
|
@ -68,10 +68,7 @@ public class CacheUtil {
|
|||
return null;
|
||||
}
|
||||
Cache.ValueWrapper wrapper = getCache(cacheName).get(keyPrefix.concat(String.valueOf(key)));
|
||||
if (wrapper == null) {
|
||||
return null;
|
||||
}
|
||||
return wrapper.get();
|
||||
return wrapper == null ? null : wrapper.get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user