pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1701924 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/ui/Tree.java
Date Wed, 09 Sep 2015 07:39:25 GMT
Author: tilman
Date: Wed Sep  9 07:39:25 2015
New Revision: 1701924

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

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/ui/Tree.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/ui/Tree.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/ui/Tree.java?rev=1701924&r1=1701923&r2=1701924&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/ui/Tree.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/ui/Tree.java Wed
Sep  9 07:39:25 2015
@@ -160,7 +160,7 @@ public class Tree extends JTree
             {
                 try
                 {
-                    byte[] bytes = IOUtils.toByteArray(cosStream.getFilteredStream());
+                    byte[] bytes = IOUtils.toByteArray(cosStream.createRawInputStream());
                     saveStream(bytes);
                 }
                 catch (IOException e)
@@ -216,7 +216,7 @@ public class Tree extends JTree
             {
                 try
                 {
-                    byte[] bytes = IOUtils.toByteArray(cosStream.getUnfilteredStream());
+                    byte[] bytes = IOUtils.toByteArray(cosStream.createInputStream());
                     saveStream(bytes);
                 }
                 catch (IOException e)



Mime
View raw message