diff options
author | Emina Ahmetovic <emina.ahmetovic@egiz.gv.at> | 2020-10-30 14:06:31 +0100 |
---|---|---|
committer | Emina Ahmetovic <emina.ahmetovic@egiz.gv.at> | 2020-10-30 14:06:31 +0100 |
commit | 892c852352f48b18f2f2dadff6c223039d41aba0 (patch) | |
tree | f3a9e2ce9bb55e7d948772fb2a97d63c4faf138a /pdf-as-pdfbox-2/src/main/java/at | |
parent | cbaa725f4940ba0677feaa76a4556c1d9a14efc5 (diff) | |
download | pdf-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/src/main/java/at')
-rw-r--r-- | pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/placeholder/SignaturePlaceholderExtractor.java | 3 |
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; } |