Author: tilman
Date: Fri Jul 11 08:57:23 2025
New Revision: 1927129
URL: http://svn.apache.org/viewvc?rev=1927129&view=rev
Log:
PDFBOX-6034: revert temporary debug output
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
URL:
http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java?rev=1927129&r1=1927128&r2=1927129&view=diff
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
(original)
+++
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
Fri Jul 11 08:57:23 2025
@@ -114,7 +114,6 @@ public class Overlay implements Closeabl
*/
public PDDocument overlay(Map<Integer, String> specificPageOverlayMap)
throws IOException
{
- System.out.println("specificPageOverlayMap: " +
specificPageOverlayMap);
Map<String, LayoutPage> layouts = new HashMap<>();
String path;
loadPDFs();
@@ -131,7 +130,6 @@ public class Overlay implements Closeabl
}
specificPageOverlayLayoutPageMap.put(e.getKey(), layoutPage);
}
- System.out.println("specificPageOverlayLayoutPageMap: " +
specificPageOverlayLayoutPageMap);
processPages(inputPDFDocument);
return inputPDFDocument;
}
@@ -398,12 +396,10 @@ public class Overlay implements Closeabl
int numberOfPages = pageTree.getCount();
for (PDPage page : pageTree)
{
- System.out.println("processing page: " + pageTree.indexOf(page));
pageCounter++;
LayoutPage layoutPage = getLayoutPage(pageCounter, numberOfPages);
if (layoutPage == null)
{
- System.out.println("layoutPage null");
continue;
}
COSDictionary pageDictionary = page.getCOSObject();
@@ -429,7 +425,6 @@ public class Overlay implements Closeabl
default:
throw new IOException("Unknown type of position:" +
position);
}
- System.out.println("processing page: " + pageTree.indexOf(page) +
", done");
pageDictionary.setItem(COSName.CONTENTS, newContentArray);
}
}