Simple fixes (#976)

* Should be only the really simple stuff.
* Final cleanups.
This commit is contained in:
Koen De Groote
2017-02-23 23:46:51 +13:00
committed by Rob Bygrave
parent 8bb884374b
commit 6120a465e1
59 changed files with 111 additions and 125 deletions
@@ -276,7 +276,7 @@ public class DefaultServerCache implements ServerCache {
long trimmedByTTL = 0;
long trimmedByLRU = 0;
ArrayList<CacheEntry> activeList = new ArrayList<>();
ArrayList<CacheEntry> activeList = new ArrayList<>(map.size());
long idleExpire = System.currentTimeMillis() - (maxIdleSecs * 1000);
long ttlExpire = System.currentTimeMillis() - (maxSecsToLive * 1000);