Author: tilman
Date: Fri Aug  8 10:00:56 2025
New Revision: 1927690

Log:
PDFBOX-6049: improve naming

Modified:
   pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java

Modified: 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java   
Fri Aug  8 10:00:53 2025        (r1927689)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java   
Fri Aug  8 10:00:56 2025        (r1927690)
@@ -269,7 +269,7 @@ public class Overlay implements Closeabl
         }
         if (allPagesOverlay != null)
         {
-            specificPageOverlayLayoutPageMap = getLayoutPages(allPagesOverlay);
+            specificPageOverlayLayoutPageMap = 
createPageOverlayLayoutPageMap(allPagesOverlay);
             useAllOverlayPages = true;
             numberOfOverlayPages = specificPageOverlayLayoutPageMap.size();
         }
@@ -286,14 +286,14 @@ public class Overlay implements Closeabl
     private static final class LayoutPage
     {
         private final PDRectangle overlayMediaBox;
-        private final COSStream overlayContentStream;
+        private final COSStream overlayCOSStream;
         private final COSDictionary overlayResources;
         private final short overlayRotation;
 
         private LayoutPage(PDRectangle mediaBox, COSStream contentStream, 
COSDictionary resources, short rotation)
         {
             overlayMediaBox = mediaBox;
-            overlayContentStream = contentStream;
+            overlayCOSStream = contentStream;
             overlayResources = resources;
             overlayRotation = rotation;
         }
@@ -329,7 +329,7 @@ public class Overlay implements Closeabl
                 resources.getCOSObject(), (short) page.getRotation());
     }
     
-    private Map<Integer,LayoutPage> getLayoutPages(PDDocument doc) throws 
IOException
+    private Map<Integer,LayoutPage> createPageOverlayLayoutPageMap(PDDocument 
doc) throws IOException
     {
         int i = 0;
         Map<Integer, LayoutPage> layoutPages = new HashMap<>();
@@ -506,7 +506,7 @@ public class Overlay implements Closeabl
     private PDFormXObject createOverlayFormXObject(LayoutPage layoutPage, 
PDFCloneUtility cloner)
             throws IOException
     {
-        PDFormXObject xobjForm = new 
PDFormXObject(layoutPage.overlayContentStream);
+        PDFormXObject xobjForm = new 
PDFormXObject(layoutPage.overlayCOSStream);
         xobjForm.setResources(new PDResources(
                 cloner.cloneForNewDocument(layoutPage.overlayResources)));
         xobjForm.setFormType(1);

Reply via email to