mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
[MNT-21818] applied code formatter
This commit is contained in:
@@ -52,7 +52,8 @@ public class RMContainerCacheManager implements RecordsManagementModel
|
|||||||
private SimpleCache<Pair<StoreRef, String>, Set<NodeRef>> cache;
|
private SimpleCache<Pair<StoreRef, String>, Set<NodeRef>> cache;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param nodeService node service
|
* @param nodeService
|
||||||
|
* node service
|
||||||
*/
|
*/
|
||||||
public void setNodeService(NodeService nodeService)
|
public void setNodeService(NodeService nodeService)
|
||||||
{
|
{
|
||||||
@@ -69,13 +70,13 @@ public class RMContainerCacheManager implements RecordsManagementModel
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Verifies if there is cached nodes for supplied storeRef
|
* Verifies if there is cached nodes for supplied storeRef
|
||||||
|
*
|
||||||
* @param storeRef
|
* @param storeRef
|
||||||
* @return true if there are cached nodes, false otherwise
|
* @return true if there are cached nodes, false otherwise
|
||||||
*/
|
*/
|
||||||
public boolean isCached(StoreRef storeRef)
|
public boolean isCached(StoreRef storeRef)
|
||||||
{
|
{
|
||||||
Pair<StoreRef, String> key = new Pair<StoreRef, String>(storeRef, ASPECT_RECORDS_MANAGEMENT_ROOT.toString());
|
return cache.contains(getKey(storeRef));
|
||||||
return cache.contains(key);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user