pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1701922 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java
Date Wed, 09 Sep 2015 07:38:28 GMT
Author: tilman
Date: Wed Sep  9 07:38:28 2015
New Revision: 1701922

URL: http://svn.apache.org/r1701922
Log:
PDFBOX-2842: fix call to deprecated method

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java?rev=1701922&r1=1701921&r2=1701922&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java Wed Sep  9 07:38:28
2015
@@ -944,7 +944,7 @@ public class PDFDebugger extends JFrame
             try
             {
                 COSStream stream = (COSStream)selectedNode;
-                InputStream ioStream = stream.getUnfilteredStream();
+                InputStream ioStream = stream.createInputStream();
                 ByteArrayOutputStream byteArray = new ByteArrayOutputStream();
                 byte[] buffer = new byte[1024];
                 int amountRead;



Mime
View raw message