Author: tilman
Date: Sat Apr 11 03:33:44 2026
New Revision: 1932978
Log:
PDFBOX-5660: fix typo, as suggested by Valery Bokov; closes #438
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Sat Apr 11 03:25:54 2026 (r1932977)
+++
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Sat Apr 11 03:33:44 2026 (r1932978)
@@ -1064,7 +1064,7 @@ public class PDDocument implements Close
* signed</a>. (PDFBox already does this for signature widget annotations)
* <p>
* Another problem with page-based modifications can occur if the page
tree isn't flat: there
- * won't be an closed update path from the catalog to the page. To fix
this, add code like this:
+ * won't be a closed update path from the catalog to the page. To fix
this, add code like this:
* <pre>{@code
* COSDictionary parent =
page.getCOSObject().getCOSDictionary(COSName.PARENT);
* while (parent != null)