diff options
author | Simon Pepping <spepping@apache.org> | 2011-01-14 12:58:53 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2011-01-14 12:58:53 +0000 |
commit | 1eaae07e7db29a870d7dd037083a3e0fc9f7dc8c (patch) | |
tree | ed323cef97a5b32384b914229211a5e79cbcb9e9 /src/java/org/apache/fop/render/pdf | |
parent | 4c8a18e4a5e33f473150b9e2f4a91461cb67cce9 (diff) | |
download | xmlgraphics-fop-1eaae07e7db29a870d7dd037083a3e0fc9f7dc8c.tar.gz xmlgraphics-fop-1eaae07e7db29a870d7dd037083a3e0fc9f7dc8c.zip |
Fix deprecation warnings; add some type safety
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058988 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pdf')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFDocumentHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFDocumentHandler.java b/src/java/org/apache/fop/render/pdf/PDFDocumentHandler.java index 1cf291112..c1d959dd1 100644 --- a/src/java/org/apache/fop/render/pdf/PDFDocumentHandler.java +++ b/src/java/org/apache/fop/render/pdf/PDFDocumentHandler.java @@ -92,8 +92,8 @@ public class PDFDocumentHandler extends AbstractBinaryWritingIFDocumentHandler { protected PageReference currentPageRef; /** Used for bookmarks/outlines. */ - protected Map<Integer, PageReference> pageReferences = - new java.util.HashMap<Integer, PageReference>(); + protected Map<Integer, PageReference> pageReferences + = new java.util.HashMap<Integer, PageReference>(); private final PDFDocumentNavigationHandler documentNavigationHandler = new PDFDocumentNavigationHandler(this); |