Build fix : Incorrect merge of revision 46033 from 4.13 (via 46037 on 4.1-BUG-FIX) to HEAD

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@47802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2013-03-08 13:45:11 +00:00
parent d60e9566a6
commit d091101f5c

View File

@@ -560,7 +560,7 @@ public class SOLRTrackingComponentImpl implements SOLRTrackingComponent
Long lastCached = toVisit.peekLast(); Long lastCached = toVisit.peekLast();
while ((nodeId = toVisit.pollFirst()) != null) while ((nodeId = toVisit.pollFirst()) != null)
{ {
if (visited.add(nodeId)) if (visited.add(nodeId) && (nodeDAO.getNodeIdStatus(nodeId) != null) && (false == nodeDAO.getNodeIdStatus(nodeId).isDeleted()))
{ {
nodeDAO.getParentAssocs(nodeId, null, null, null, new ChildAssocRefQueryCallback() nodeDAO.getParentAssocs(nodeId, null, null, null, new ChildAssocRefQueryCallback()
{ {