[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; 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);
} }
/** /**