Fix pmd
This commit is contained in:
parent
97abac1add
commit
0b30da89bc
@ -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())
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user