diff --git a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFDocument.java b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFDocument.java index c84b84f6e89..1cf7894004c 100644 --- a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFDocument.java +++ b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFDocument.java @@ -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. * @@ -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)