diff --git a/melosys-eessi-app/src/main/java/no/nav/melosys/eessi/integration/journalpostapi/OpprettJournalpostRequestMapper.java b/melosys-eessi-app/src/main/java/no/nav/melosys/eessi/integration/journalpostapi/OpprettJournalpostRequestMapper.java index 8db98df97..00b76d025 100644 --- a/melosys-eessi-app/src/main/java/no/nav/melosys/eessi/integration/journalpostapi/OpprettJournalpostRequestMapper.java +++ b/melosys-eessi-app/src/main/java/no/nav/melosys/eessi/integration/journalpostapi/OpprettJournalpostRequestMapper.java @@ -199,7 +199,7 @@ private static ByteArrayOutputStream convertWordToPdf(SedMedVedlegg.BinaerFil bi log.info("KonverteringPDF: Conversion started in convertWordToPdf"); try ( - XWPFDocument document = new XWPFDocument(is); + XWPFDocument document = new XWPFDocument(is) ) { log.info("KonverteringPDF: InputStream ready"); diff --git a/pom.xml b/pom.xml index 295f681c0..058eee91c 100644 --- a/pom.xml +++ b/pom.xml @@ -64,11 +64,10 @@ 4.2.0 3.0.0 2.0.4 - 5.2.5 + 5.2.2 1.25.0 3.0.1 5.5.10 - 1.25.0