final List<FragmentExtract> fragmentExtracts = (anchorEntity == ALL_ANCHORS)
? fragmentRepository.quickFindWithDescendantsAcrossAnchor(xpathRegex) :
fragmentRepository.quickFindWithDescendants(anchorEntity.getId(), xpathRegex);
final List<FragmentExtract> fragmentExtracts = (anchorEntity == ALL_ANCHORS)
? fragmentRepository.quickFindWithDescendantsAcrossAnchor(xpathRegex) :
fragmentRepository.quickFindWithDescendants(anchorEntity.getId(), xpathRegex);