pdfbox-commits mailing list archives

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

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

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=1809338&r1=1809337&r2=1809338&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:07:58 2017
@@ -239,7 +239,7 @@ public class TTFParser
     
     private TTFTable readTableDirectory(TrueTypeFont font, TTFDataStream raf) throws IOException
     {
-        TTFTable table = null;
+        TTFTable table;
         String tag = raf.readString(4);
         if (tag.equals(CmapTable.TAG))
         {



Mime
View raw message