From 2d2a89ba9c74985495ba69f6d7a7d30697fa150e Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Sat, 6 Jul 2024 15:15:25 +0800 Subject: [PATCH] update doc --- src/main/java/com/xxl/tool/cache/CacheManage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/xxl/tool/cache/CacheManage.java b/src/main/java/com/xxl/tool/cache/CacheManage.java index 3fede15..828eb27 100644 --- a/src/main/java/com/xxl/tool/cache/CacheManage.java +++ b/src/main/java/com/xxl/tool/cache/CacheManage.java @@ -74,7 +74,7 @@ public void capacityCheck() { // valid capacity, do remove if exceed capacity long clearCnt = cacheConf.size() - maxLenth; if (clearCnt > 0) { - Set keysToCut = new HashSet<>(); + Set keysToCut = new HashSet<>(); // TODO,》》 LRU、LFU // collect key for (String key: cacheConf.keySet()) { keysToCut.add(key);