Commit c9614bd7 authored by TikiWong's avatar TikiWong
Browse files

笔误

parent 6941b984
...@@ -47,8 +47,8 @@ public class UserCacheManager { ...@@ -47,8 +47,8 @@ public class UserCacheManager {
public void expel() { public void expel() {
long now = System.currentTimeMillis(); long now = System.currentTimeMillis();
if (cache.size() < minEvictableSize || if (cache.size() < minEvictableSize ||
now < nextMinEvictableTime && now < nextMinEvictableTime ||
!expelLock.compareAndSet(true, false)) { !expelLock.compareAndSet(true, false)) {
return; return;
} }
long oldestTime = now; long oldestTime = now;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment