pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1783538 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Date Sat, 18 Feb 2017 13:31:42 GMT
Author: tilman
Date: Sat Feb 18 13:31:42 2017
New Revision: 1783538

URL: http://svn.apache.org/viewvc?rev=1783538&view=rev
Log:
PDFBOX-2852: remove "if" that is always true

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java?rev=1783538&r1=1783537&r2=1783538&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Sat Feb 18 13:31:42 2017
@@ -629,10 +629,7 @@ final class FileSystemFontProvider exten
         }
         finally
         {
-            if (ttf != null)
-            {
-                ttf.close();
-            }
+            ttf.close();
         }
     }
 



Mime
View raw message