From commits-return-13897-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Thu Dec 27 10:42:41 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B72E9180625 for ; Thu, 27 Dec 2018 10:42:40 +0100 (CET) Received: (qmail 20952 invoked by uid 500); 27 Dec 2018 09:42:39 -0000 Mailing-List: contact commits-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list commits@pdfbox.apache.org Received: (qmail 20943 invoked by uid 99); 27 Dec 2018 09:42:39 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2018 09:42:39 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 6C3663A00A1 for ; Thu, 27 Dec 2018 09:42:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@pdfbox.apache.org From: tilman@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20181227094239.6C3663A00A1@svn01-us-west.apache.org> 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 sourceDocuments) throws IOException + private void optimizedMergeDocuments(MemoryUsageSetting memUsageSetting) throws IOException { PDDocument destination = null; try