[MNT-21818] applied code formatter

This commit is contained in:
tiagos
2020-09-15 17:17:10 +01:00
parent c4e8addf5d
commit 276fa8f868

View File

@@ -52,7 +52,8 @@ public class RMContainerCacheManager implements RecordsManagementModel
private SimpleCache<Pair<StoreRef, String>, Set<NodeRef>> cache;
/**
* @param nodeService node service
* @param nodeService
* node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -69,13 +70,13 @@ public class RMContainerCacheManager implements RecordsManagementModel
/**
* Verifies if there is cached nodes for supplied storeRef
*
* @param storeRef
* @return true if there are cached nodes, false otherwise
*/
public boolean isCached(StoreRef storeRef)
{
Pair<StoreRef, String> key = new Pair<StoreRef, String>(storeRef, ASPECT_RECORDS_MANAGEMENT_ROOT.toString());
return cache.contains(key);
return cache.contains(getKey(storeRef));
}
/**