pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1849793 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Date Thu, 27 Dec 2018 09:42:39 GMT
Author: tilman
Date: Thu Dec 27 09:42:39 2018
New Revision: 1849793

URL: http://svn.apache.org/viewvc?rev=1849793&view=rev
Log:
PDFBOX-4182, PDFBOX-4188: remove unused parameter

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java?rev=1849793&r1=1849792&r2=1849793&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Thu Dec 27 09:42:39 2018
@@ -17,7 +17,6 @@
 package org.apache.pdfbox.multipdf;
 
 import java.io.File;
-import java.io.FileInputStream;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.io.InputStream;
@@ -277,12 +276,11 @@ public class PDFMergerUtility
         }
         else if (documentMergeMode == DocumentMergeMode.OPTIMIZE_RESOURCES_MODE)
         {
-            optimizedMergeDocuments(memUsageSetting, sources);
+            optimizedMergeDocuments(memUsageSetting);
         }
     }
 
-    private void optimizedMergeDocuments(MemoryUsageSetting memUsageSetting,
-            List<Object> sourceDocuments) throws IOException
+    private void optimizedMergeDocuments(MemoryUsageSetting memUsageSetting) throws IOException
     {
         PDDocument destination = null;
         try



Mime
View raw message