mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Odds and ends. Started infrastructure for AVM command line utilities.
Loosened cache invalidation for write operations so that layered/write lookups are not discarded. Changed direct buffer copies to use System.arraycopy. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -268,7 +268,8 @@ public class LookupCache
|
||||
for (Map.Entry<LookupKey, Lookup> entry : fCache.entrySet())
|
||||
{
|
||||
if ((entry.getKey().getStoreName().equals(storeName) &&
|
||||
!entry.getKey().isWrite()) || entry.getValue().isLayered())
|
||||
!entry.getKey().isWrite()) ||
|
||||
(!entry.getKey().isWrite() && entry.getValue().isLayered()))
|
||||
{
|
||||
toDelete.add(entry.getKey());
|
||||
}
|
||||
|
Reference in New Issue
Block a user