Skip to content

Commit 4784c9d

Browse files
committed
PDFBOX-5660: replace lambda with method reference
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1928816 13f79535-47bb-0310-9956-ffa450edef68
1 parent c8f5375 commit 4784c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ private int repairLength1(byte[] bytes, int length1)
307307

308308
if (length1 - offset != 0 && offset > 0)
309309
{
310-
LOG.warn("Ignored invalid Length1 {} for Type 1 font {}", () -> length1, () -> getName());
310+
LOG.warn("Ignored invalid Length1 {} for Type 1 font {}", () -> length1, this::getName);
311311
return offset;
312312
}
313313

0 commit comments

Comments
 (0)