Skip to content

Commit

Permalink
PDFBOX-5660: replace lambda with method reference
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1923525 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Feb 3, 2025
1 parent 2efb306 commit 627f489
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ private void doWriteXRefTable() throws IOException
private void fillGapsWithFreeEntries()
{
List<NormalXReference> normalXReferences = getXRefEntries().stream() //
.filter(e -> e instanceof NormalXReference) //
.filter(NormalXReference.class::isInstance) //
.map(NormalXReference.class::cast) //
.sorted() //
.collect(Collectors.toList());
Expand Down

0 comments on commit 627f489

Please sign in to comment.