RED-6009: Document Tree Structure

*minor fix
This commit is contained in:
Kilian Schuettler 2023-04-12 14:16:19 +02:00
parent e13b5af449
commit 85fe498035

View File

@ -36,7 +36,6 @@ public class LayoutParsingService {
private final ClassificationService classificationService;
private final SectionsBuilderService sectionsBuilderService;
private final DocumentGraphFactory documentGraphFactory;
private final DocumentDataMapper documentDataMapper;
public LayoutParsingFinishedEvent parseLayoutAndSaveFilesToStorage(LayoutParsingRequest layoutParsingRequest) {
@ -81,7 +80,7 @@ public class LayoutParsingService {
DocumentGraph documentGraph = parseLayout(originDocument, imageServiceResponse, tableServiceResponse);
try {
layoutParsingStorageService.storeDocumentData(layoutParsingRequest, documentDataMapper.toDocumentData(documentGraph));
layoutParsingStorageService.storeDocumentData(layoutParsingRequest, DocumentDataMapper.toDocumentData(documentGraph));
} catch (IOException e) {
log.error("Parsed Document files could not be saved!");
log.error(e.getMessage());