pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1809341 - /pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/TTFParser.java
Date Fri, 22 Sep 2017 19:14:36 GMT
Author: tilman
Date: Fri Sep 22 19:14:36 2017
New Revision: 1809341

URL: http://svn.apache.org/viewvc?rev=1809341&view=rev
Log:
PDFBOX-2852: remove unneeded parameter

Modified:
    pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/TTFParser.java

Modified: pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/TTFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/TTFParser.java?rev=1809341&r1=1809340&r2=1809341&view=diff
==============================================================================
--- pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/TTFParser.java (original)
+++ pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/TTFParser.java Fri Sep
22 19:14:36 2017
@@ -147,7 +147,7 @@ public class TTFParser
         // parse tables if wanted
         if (!parseOnDemandOnly)
         {
-            parseTables(font, raf);
+            parseTables(font);
         }
 
         return font;
@@ -162,10 +162,9 @@ public class TTFParser
      * Parse all tables and check if all needed tables are present.
      *
      * @param font the TrueTypeFont instance holding the parsed data.
-     * @param raf the data stream of the to be parsed ttf font
      * @throws IOException If there is an error parsing the TrueType font.
      */
-    private void parseTables(TrueTypeFont font, TTFDataStream raf) throws IOException
+    private void parseTables(TrueTypeFont font) throws IOException
     {
         for (TTFTable table : font.getTables())
         {



Mime
View raw message