Skip to content

Commit 9498bbb

Browse files
committed
PDFBOX-5660: simplify
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1935093 13f79535-47bb-0310-9956-ffa450edef68
1 parent 85a75ca commit 9498bbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ protected COSBase parseObjectStreamObject(long objstmObjNr, COSObjectKey key) th
724724
document);
725725
Map<COSObjectKey, COSBase> allStreamObjects = parser.parseAllObjects();
726726
objectStreamObject = allStreamObjects.remove(key);
727-
allStreamObjects.forEach((k, v) -> streamObjects.putIfAbsent(k, v));
727+
allStreamObjects.forEach(streamObjects::putIfAbsent);
728728
}
729729
catch (IOException ex)
730730
{

0 commit comments

Comments
 (0)