pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1691020 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
Date Tue, 14 Jul 2015 16:16:58 GMT
Author: tilman
Date: Tue Jul 14 16:16:57 2015
New Revision: 1691020

URL: http://svn.apache.org/r1691020
Log:
PDFBOX-2852: use interface

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java?rev=1691020&r1=1691019&r2=1691020&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java Tue Jul 14
16:16:57 2015
@@ -789,7 +789,7 @@ public class COSWriter implements ICOSVi
         long last = -2;
         long count = 1;
 
-        ArrayList<Long> list = new ArrayList<Long>();
+        List<Long> list = new ArrayList<Long>();
         for( Object object : xRefEntriesList )
         {
             long nr = (int) ((COSWriterXRefEntry) object).getKey().getNumber();



Mime
View raw message