Skip to content

Commit 627f489

Browse files
committed
PDFBOX-5660: replace lambda with method reference
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1923525 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2efb306 commit 627f489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ private void doWriteXRefTable() throws IOException
803803
private void fillGapsWithFreeEntries()
804804
{
805805
List<NormalXReference> normalXReferences = getXRefEntries().stream() //
806-
.filter(e -> e instanceof NormalXReference) //
806+
.filter(NormalXReference.class::isInstance) //
807807
.map(NormalXReference.class::cast) //
808808
.sorted() //
809809
.collect(Collectors.toList());

0 commit comments

Comments
 (0)