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
This commit is contained in:
Derek Hulley
2010-06-22 14:54:35 +00:00
parent ef5f256fcc
commit 343de9efc9

View File

@@ -188,7 +188,7 @@ public class TransactionalCache<K extends Serializable, V extends Object>
{
data = new TransactionData();
// create and initialize caches
data.updatedItemsCache = new LRUMap(17);
data.updatedItemsCache = new LRUMap(maxCacheSize);
data.removedItemsCache = new HashSet<K>(13);
// ensure that we get the transaction callbacks as we have bound the unique