* checkstyle
This commit is contained in:
parent
84148d3b6e
commit
b25d46291a
@ -88,15 +88,11 @@ public class RulingCleaningServiceTest extends BuildDocumentTest {
|
|||||||
DocumentData documentDataAfter = DocumentDataMapper.toDocumentData(documentGraphAfter);
|
DocumentData documentDataAfter = DocumentDataMapper.toDocumentData(documentGraphAfter);
|
||||||
if (!compareStructures(documentDataBefore.getDocumentStructure(), documentDataAfter.getDocumentStructure(), filename.getFileName().toString())) {
|
if (!compareStructures(documentDataBefore.getDocumentStructure(), documentDataAfter.getDocumentStructure(), filename.getFileName().toString())) {
|
||||||
String tmpFileNameBefore = "C:/Users/YANNIK~1/AppData/Local/Temp/before." + filename.getFileName().toString();
|
String tmpFileNameBefore = "C:/Users/YANNIK~1/AppData/Local/Temp/before." + filename.getFileName().toString();
|
||||||
;
|
|
||||||
System.out.println(tmpFileNameBefore);
|
|
||||||
try (PDDocument pdDocument = Loader.loadPDF(filename.toFile())) {
|
try (PDDocument pdDocument = Loader.loadPDF(filename.toFile())) {
|
||||||
PdfDraw.drawDocumentGraph(pdDocument, documentGraphBefore);
|
PdfDraw.drawDocumentGraph(pdDocument, documentGraphBefore);
|
||||||
pdDocument.save(tmpFileNameBefore);
|
pdDocument.save(tmpFileNameBefore);
|
||||||
}
|
}
|
||||||
String tmpFileNameAfter = "C:/Users/YANNIK~1/AppData/Local/Temp/after." + filename.getFileName().toString();
|
String tmpFileNameAfter = "C:/Users/YANNIK~1/AppData/Local/Temp/after." + filename.getFileName().toString();
|
||||||
;
|
|
||||||
System.out.println(tmpFileNameAfter);
|
|
||||||
try (PDDocument pdDocument = Loader.loadPDF(filename.toFile())) {
|
try (PDDocument pdDocument = Loader.loadPDF(filename.toFile())) {
|
||||||
PdfDraw.drawDocumentGraph(pdDocument, documentGraphAfter);
|
PdfDraw.drawDocumentGraph(pdDocument, documentGraphAfter);
|
||||||
pdDocument.save(tmpFileNameAfter);
|
pdDocument.save(tmpFileNameAfter);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user