Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BDE7D200CD8 for ; Wed, 2 Aug 2017 17:55:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BCB0A169B65; Wed, 2 Aug 2017 15:55:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 34C04169B61 for ; Wed, 2 Aug 2017 17:55:24 +0200 (CEST) Received: (qmail 36108 invoked by uid 500); 2 Aug 2017 15:55:23 -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 36098 invoked by uid 99); 2 Aug 2017 15:55:23 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2017 15:55:23 +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 D75AA3A04C0 for ; Wed, 2 Aug 2017 15:55:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1803840 - /pdfbox/trunk/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java Date: Wed, 02 Aug 2017 15:55:22 -0000 To: commits@pdfbox.apache.org From: tilman@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170802155522.D75AA3A04C0@svn01-us-west.apache.org> archived-at: Wed, 02 Aug 2017 15:55:24 -0000 Author: tilman Date: Wed Aug 2 15:55:22 2017 New Revision: 1803840 URL: http://svn.apache.org/viewvc?rev=1803840&view=rev Log: PDFBOX-2852: simplify Modified: pdfbox/trunk/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java Modified: pdfbox/trunk/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java?rev=1803840&r1=1803839&r2=1803840&view=diff ============================================================================== --- pdfbox/trunk/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java (original) +++ pdfbox/trunk/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java Wed Aug 2 15:55:22 2017 @@ -17,7 +17,6 @@ package org.apache.fontbox.cmap; import java.io.File; -import java.io.FileInputStream; import java.io.IOException; import junit.framework.TestCase; @@ -42,7 +41,7 @@ public class TestCMapParser extends Test File inDir = new File(resourceDir); CMapParser parser = new CMapParser(); - CMap cMap = parser.parse(new FileInputStream(new File(inDir, "CMapTest"))); + CMap cMap = parser.parse(new File(inDir, "CMapTest")); // char mappings byte[] bytes1 = {0, 1};