diff --git a/openpdf/src/test/java/com/lowagie/text/pdf/PdfSmartCopyTest.java b/openpdf/src/test/java/com/lowagie/text/pdf/PdfSmartCopyTest.java index a315befc9..c93bc12aa 100644 --- a/openpdf/src/test/java/com/lowagie/text/pdf/PdfSmartCopyTest.java +++ b/openpdf/src/test/java/com/lowagie/text/pdf/PdfSmartCopyTest.java @@ -20,7 +20,7 @@ public PdfSmartCopyTest() { } @Test - public void test1() { + void test1() { File orig = new File("src/test/resources/pdfsmartcopy_bec.pdf"); check(orig, 1); } @@ -49,7 +49,7 @@ private void check(File orig, int counter) { } @Test - public void canWriteAndCopy() throws IOException { + void canWriteAndCopy() throws IOException { try (PdfReader reader = new PdfReader("src/test/resources/pdfsmartcopy_bec.pdf")) { ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); try (Document document = new Document()) {