mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-11-14 22:49:33 +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