Skip to content

Commit 55cf202

Browse files
committed
PDFBOX-5894: remove deprecated, remove unneeded code
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1921733 13f79535-47bb-0310-9956-ffa450edef68
1 parent f6e0b63 commit 55cf202

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFDocument.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,6 @@ public FDFDocument()
7272
setCatalog(catalog);
7373
}
7474

75-
/**
76-
* Constructor that uses an existing document. The COSDocument that is passed in must be valid.
77-
*
78-
* @param doc The COSDocument that this document wraps.
79-
* @deprecated Use {@link #FDFDocument(COSDocument, RandomAccessRead) }
80-
*/
81-
@Deprecated
82-
public FDFDocument(COSDocument doc)
83-
{
84-
this(doc, null);
85-
}
86-
8775
/**
8876
* Constructor that uses an existing document. The COSDocument that is passed in must be valid.
8977
*
@@ -150,7 +138,7 @@ public COSDocument getDocument()
150138
*/
151139
public FDFCatalog getCatalog()
152140
{
153-
FDFCatalog retval = null;
141+
FDFCatalog retval;
154142
COSDictionary trailer = document.getTrailer();
155143
COSDictionary root = trailer.getCOSDictionary(COSName.ROOT);
156144
if (root == null)

0 commit comments

Comments
 (0)