Skip to content

Commit

Permalink
PDFBOX-5894: remove deprecated, remove unneeded code
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1921733 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Nov 1, 2024
1 parent f6e0b63 commit 55cf202
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ public FDFDocument()
setCatalog(catalog);
}

/**
* Constructor that uses an existing document. The COSDocument that is passed in must be valid.
*
* @param doc The COSDocument that this document wraps.
* @deprecated Use {@link #FDFDocument(COSDocument, RandomAccessRead) }
*/
@Deprecated
public FDFDocument(COSDocument doc)
{
this(doc, null);
}

/**
* Constructor that uses an existing document. The COSDocument that is passed in must be valid.
*
Expand Down Expand Up @@ -150,7 +138,7 @@ public COSDocument getDocument()
*/
public FDFCatalog getCatalog()
{
FDFCatalog retval = null;
FDFCatalog retval;
COSDictionary trailer = document.getTrailer();
COSDictionary root = trailer.getCOSDictionary(COSName.ROOT);
if (root == null)
Expand Down

0 comments on commit 55cf202

Please sign in to comment.