aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox-2
diff options
context:
space:
mode:
authorEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-10-30 14:06:31 +0100
committerEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-10-30 14:06:31 +0100
commit892c852352f48b18f2f2dadff6c223039d41aba0 (patch)
treef3a9e2ce9bb55e7d948772fb2a97d63c4faf138a /pdf-as-pdfbox-2
parentcbaa725f4940ba0677feaa76a4556c1d9a14efc5 (diff)
downloadpdf-as-4-892c852352f48b18f2f2dadff6c223039d41aba0.tar.gz
pdf-as-4-892c852352f48b18f2f2dadff6c223039d41aba0.tar.bz2
pdf-as-4-892c852352f48b18f2f2dadff6c223039d41aba0.zip
change log, reformat code
Diffstat (limited to 'pdf-as-pdfbox-2')
-rw-r--r--pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/placeholder/SignaturePlaceholderExtractor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/placeholder/SignaturePlaceholderExtractor.java b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/placeholder/SignaturePlaceholderExtractor.java
index f69b1788..f1aa78b6 100644
--- a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/placeholder/SignaturePlaceholderExtractor.java
+++ b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/placeholder/SignaturePlaceholderExtractor.java
@@ -103,7 +103,7 @@ public class SignaturePlaceholderExtractor extends PDFStreamEngine implements Pl
private static Logger logger = LoggerFactory
.getLogger(SignaturePlaceholderExtractor.class);
- private static List<SignaturePlaceholderData> placeholders = new Vector<>();
+ private static List<SignaturePlaceholderData> placeholders = new ArrayList<>();
private int currentPage = 0;
private PDDocument doc;
@@ -128,6 +128,7 @@ public class SignaturePlaceholderExtractor extends PDFStreamEngine implements Pl
this.doc = doc;
}
+ //todo lists returns duplicates
public static List<SignaturePlaceholderData> listPlaceholders() {
return placeholders;
}