update
This commit is contained in:
parent
2e4771ce87
commit
ef1710ce9b
@ -74,7 +74,7 @@ public class CacheUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean hasKey(String cacheName, String key) {
|
public static boolean hasKey(String cacheName, String key) {
|
||||||
return ObjectUtils.isEmpty(get(cacheName, key));
|
return !ObjectUtils.isEmpty(get(cacheName, key));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user