From 343de9efc9cb4fc6cff4dd2238e3df3be772bb0e Mon Sep 17 00:00:00 2001 From: Derek Hulley Date: Tue, 22 Jun 2010 14:54:35 +0000 Subject: [PATCH] Fixed LRUMap initialization - TODO: Get LRUMap code and examine initialization git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/repo/cache/TransactionalCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/repo/cache/TransactionalCache.java b/source/java/org/alfresco/repo/cache/TransactionalCache.java index 1eb1a6b283..1c239b7c5a 100644 --- a/source/java/org/alfresco/repo/cache/TransactionalCache.java +++ b/source/java/org/alfresco/repo/cache/TransactionalCache.java @@ -188,7 +188,7 @@ public class TransactionalCache { data = new TransactionData(); // create and initialize caches - data.updatedItemsCache = new LRUMap(17); + data.updatedItemsCache = new LRUMap(maxCacheSize); data.removedItemsCache = new HashSet(13); // ensure that we get the transaction callbacks as we have bound the unique