pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1867608 - /pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TTFSubsetter.java
Date Thu, 26 Sep 2019 19:23:42 GMT
Author: tilman
Date: Thu Sep 26 19:23:42 2019
New Revision: 1867608

URL: http://svn.apache.org/viewvc?rev=1867608&view=rev
Log:
PDFBOX-4071: use jdk8 methood reference

Modified:
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TTFSubsetter.java

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TTFSubsetter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TTFSubsetter.java?rev=1867608&r1=1867607&r2=1867608&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TTFSubsetter.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TTFSubsetter.java Thu Sep 26
19:23:42 2019
@@ -126,7 +126,7 @@ public final class TTFSubsetter
      */
     public void addAll(Set<Integer> unicodeSet)
     {
-        unicodeSet.forEach(unicode -> add(unicode));
+        unicodeSet.forEach(this::add);
     }
 
     /**



Mime
View raw message