pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1687867 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
Date Fri, 26 Jun 2015 22:26:11 GMT
Author: tilman
Date: Fri Jun 26 22:26:11 2015
New Revision: 1687867

URL: http://svn.apache.org/r1687867
Log:
PDFBOX-2576: use interface

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java?rev=1687867&r1=1687866&r2=1687867&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/COSStreamArray.java
Fri Jun 26 22:26:11 2015
@@ -21,6 +21,7 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.io.SequenceInputStream;
+import java.util.List;
 import java.util.Vector;
 
 import org.apache.pdfbox.cos.COSArray;
@@ -167,7 +168,7 @@ public class COSStreamArray extends COSS
     @Override
     public RandomAccessRead getUnfilteredRandomAccess() throws IOException
     {
-        Vector<RandomAccessRead> input = new Vector<RandomAccessRead>();
+        List<RandomAccessRead> input = new Vector<RandomAccessRead>();
         byte[] inbetweenStreamBytes = "\n".getBytes("ISO-8859-1");
 
         for( int i=0;i<streams.size(); i++ )



Mime
View raw message