mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Minor tweak related to ACE-2952 to be certain of no NPEs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -643,7 +643,7 @@ public class SOLRTrackingComponentImpl implements SOLRTrackingComponent
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
final boolean nodeIdEqualsLastCached = (nodeId == null && lastCached == null) ||
|
final boolean nodeIdEqualsLastCached = (nodeId == null && lastCached == null) ||
|
||||||
nodeId.equals(lastCached);
|
(nodeId != null && nodeId.equals(lastCached));
|
||||||
if (nodeIdEqualsLastCached && !toVisit.isEmpty())
|
if (nodeIdEqualsLastCached && !toVisit.isEmpty())
|
||||||
{
|
{
|
||||||
nodeDAO.cacheNodesById(toVisit);
|
nodeDAO.cacheNodesById(toVisit);
|
||||||
|
Reference in New Issue
Block a user