diff options
| author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2026-06-23 11:24:09 +0200 |
|---|---|---|
| committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2026-06-23 11:24:09 +0200 |
| commit | 24dec3a37192b8d5dbd04b1c3e491fb66cb24152 (patch) | |
| tree | e192639f125d8b2850ce71871b4facc77ba7deb1 /pdf-as-pdfbox-3/src | |
| parent | 23b124e85c690625b08e06380d5f2ead0bb2f784 (diff) | |
| download | pdf-as-4-24dec3a37192b8d5dbd04b1c3e491fb66cb24152.tar.gz pdf-as-4-24dec3a37192b8d5dbd04b1c3e491fb66cb24152.tar.bz2 pdf-as-4-24dec3a37192b8d5dbd04b1c3e491fb66cb24152.zip | |
add a test case for placeholder signing via soap api
Diffstat (limited to 'pdf-as-pdfbox-3/src')
| -rw-r--r-- | pdf-as-pdfbox-3/src/main/kotlin/at/gv/egiz/pdfas/lib/impl/pdfbox3/Placeholder.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-as-pdfbox-3/src/main/kotlin/at/gv/egiz/pdfas/lib/impl/pdfbox3/Placeholder.kt b/pdf-as-pdfbox-3/src/main/kotlin/at/gv/egiz/pdfas/lib/impl/pdfbox3/Placeholder.kt index 892d6a91..f5003687 100644 --- a/pdf-as-pdfbox-3/src/main/kotlin/at/gv/egiz/pdfas/lib/impl/pdfbox3/Placeholder.kt +++ b/pdf-as-pdfbox-3/src/main/kotlin/at/gv/egiz/pdfas/lib/impl/pdfbox3/Placeholder.kt @@ -106,8 +106,7 @@ object PDFBoxPlaceholderExtractor : PlaceholderExtractor { fun extract(document: PDDocument, targetPlaceholderID: String?, matchMode: Int): SignaturePlaceholderData? { placeholderNamesOfExistingSignatures = document.signatureDictionaries.asSequence() - .map { it.signaturePlaceholderId } - .filterNotNull() + .mapNotNull { it.signaturePlaceholderId } .toSet() document.pages.forEachIndexed { i, page -> |
