From 0be452ade4fb1a72db4f472d4f9ae6dd1cd2d819 Mon Sep 17 00:00:00 2001 From: "valery.bokov" Date: Fri, 10 Apr 2026 21:51:12 +0200 Subject: [PATCH] fix typo for PDDocument.saveIncremental method --- pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java index 69d1ef918f5..3a4e65f3a76 100644 --- a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java +++ b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java @@ -1067,7 +1067,7 @@ private void subsetDesignatedFonts() throws IOException * signed. (PDFBox already does this for signature widget annotations) *

* 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: *

{@code
      * COSDictionary parent = page.getCOSObject().getCOSDictionary(COSName.PARENT);
      * while (parent != null)