From d24e6d586bdd4df73834006a9338039f7fd04e53 Mon Sep 17 00:00:00 2001 From: Rasmus Faber-Espensen Date: Wed, 22 May 2024 23:49:55 +0200 Subject: [PATCH] Test methods to package visibility (java:S5786) --- .../src/test/java/com/lowagie/text/pdf/PdfSmartCopyTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) {