mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
commit
77fe41cef1
@ -55,7 +55,9 @@ public class FIFOCache<K, V> extends AbstractCache<K, V> {
|
||||
CacheObj<K, V> co = values.next();
|
||||
if (co.isExpired()) {
|
||||
values.remove();
|
||||
onRemove(co.key, co.obj);
|
||||
count++;
|
||||
continue;
|
||||
}
|
||||
if (first == null) {
|
||||
first = co;
|
||||
|
Loading…
x
Reference in New Issue
Block a user