This commit is contained in:
lmaldacker 2021-02-09 16:17:47 +01:00
parent 97abac1add
commit 0b30da89bc
7 changed files with 7 additions and 7 deletions

View File

@ -67,7 +67,7 @@ public class RedactionController implements RedactionResource {
log.info("Redaction analysis successful..."); log.info("Redaction analysis successful...");
log.debug("Finishing redaction analysis took: {}.", (System.currentTimeMillis() - startTime)); log.debug("Finishing redaction analysis took: {}.", System.currentTimeMillis() - startTime);
return AnalyzeResult.builder() return AnalyzeResult.builder()
.sectionGrid(classifiedDoc.getSectionGrid()) .sectionGrid(classifiedDoc.getSectionGrid())

View File

@ -61,7 +61,7 @@ public class AnnotationService {
addAnnotations(logEntries, pdPage, page); addAnnotations(logEntries, pdPage, page);
} }
} }
log.info("Finishing document annotation took: {}.", (System.currentTimeMillis() - startTime)); log.info("Finishing document annotation took: {}.", System.currentTimeMillis() - startTime);
} }

View File

@ -112,7 +112,7 @@ public class EntityRedactionService {
current = System.currentTimeMillis() - startTime - current; current = System.currentTimeMillis() - startTime - current;
log.info("Adjusting rules set took: {}.", current); log.info("Adjusting rules set took: {}.", current);
log.info("Finishing document processing took: {}.", (System.currentTimeMillis() - startTime)); log.info("Finishing document processing took: {}.", System.currentTimeMillis() - startTime);
} }

View File

@ -80,7 +80,7 @@ public class RedactionLogCreatorService {
log.info("Adding image entries took: {}.", current); log.info("Adding image entries took: {}.", current);
} }
log.info("Finishing redaction log creation took: {}.", (System.currentTimeMillis() - startTime)); log.info("Finishing redaction log creation took: {}.", System.currentTimeMillis() - startTime);
} }

View File

@ -94,7 +94,7 @@ public class PdfSegmentationService {
sectionsBuilderService.buildSections(document); sectionsBuilderService.buildSections(document);
log.info("Finishing document parsing took: {}.", (System.currentTimeMillis() - startTime)); log.info("Finishing document parsing took: {}.", System.currentTimeMillis() - startTime);
return document; return document;
} }

View File

@ -94,7 +94,7 @@ public class SectionsBuilderService {
document.setHeaders(headers); document.setHeaders(headers);
document.setFooters(footers); document.setFooters(footers);
log.debug("Finishing section building took: {}.", (System.currentTimeMillis() - startTime)); log.debug("Finishing section building took: {}.", System.currentTimeMillis() - startTime);
} }

View File

@ -85,7 +85,7 @@ public class TableExtractionService {
page.getTextBlocks().removeAll(toBeRemoved); page.getTextBlocks().removeAll(toBeRemoved);
log.debug("Finishing table extraction took: {}.", (System.currentTimeMillis() - startTime)); log.debug("Finishing table extraction took: {}.", System.currentTimeMillis() - startTime);
} }