You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2025/10/29 12:47:02 UTC

svn commit: r1929403 - pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image

Author: tilman
Date: Wed Oct 29 12:47:01 2025
New Revision: 1929403

Log:
PDFBOX-5660: fix naming

Modified:
   pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverterTest.java

Modified: pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverterTest.java
==============================================================================
--- pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverterTest.java	Wed Oct 29 11:33:27 2025	(r1929402)
+++ pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverterTest.java	Wed Oct 29 12:47:01 2025	(r1929403)
@@ -59,13 +59,13 @@ import org.junit.jupiter.api.parallel.Ex
 @Execution(ExecutionMode.CONCURRENT)
 class PNGConverterTest
 {
-    private static final File parentDir = new File("target/test-output/graphics/graphics");
+    private static final File PARENTDIR = new File("target/test-output/graphics/graphics");
 
     @BeforeAll
     static void setup()
     {
         //noinspection ResultOfMethodCallIgnored
-        parentDir.mkdirs();
+        PARENTDIR.mkdirs();
     }
 
     /**
@@ -203,7 +203,7 @@ class PNGConverterTest
                 contentStream.drawImage(pdImageXObject, 0, 0, pdImageXObject.getWidth(),
                         pdImageXObject.getHeight());
             }
-            doc.save(new File(parentDir, name + ".pdf"));
+            doc.save(new File(PARENTDIR, name + ".pdf"));
             BufferedImage image = pdImageXObject.getImage();
 
             assertNotNull(pdImageXObject.getRawRaster());