This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git

commit 67afc6779ef9444362b06dc2fa1c6a11328c3864
Author: Tilman Hausherr <[email protected]>
AuthorDate: Wed May 13 11:06:23 2026 +0200

    PDFBOX-5660: remove dead code / outdated comment
---
 src/main/java/org/apache/pdfbox/jbig2/JBIG2Document.java | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/main/java/org/apache/pdfbox/jbig2/JBIG2Document.java 
b/src/main/java/org/apache/pdfbox/jbig2/JBIG2Document.java
index 874450a..539c111 100644
--- a/src/main/java/org/apache/pdfbox/jbig2/JBIG2Document.java
+++ b/src/main/java/org/apache/pdfbox/jbig2/JBIG2Document.java
@@ -84,14 +84,6 @@ class JBIG2Document
      */
     private final SubInputStream subInputStream;
 
-    /**
-     * Flag:
-     * <ul>
-     * <li>{@code true} if stream is embedded in another file format and the 
file header is missing</li>
-     * <li>{@code false} if stream is created of a native jbig2 file and the 
file header should be present</li>
-     * </ul>
-     */
-
     /**
      * Holds a load of segments, that aren't associated with a page.
      */
@@ -309,8 +301,6 @@ class JBIG2Document
         // Bit 0 - Indicates file organisation type
         organisationType = (short) subInputStream.readBit();
 
-        // fileHeaderLength = 9;
-
         /*
          * D.4.3 Number of pages (field is only present if amount of pages are 
'NOT unknown')
          */

Reply via email to