From 85d1a34a09cd79238d210530d5fec87a0754b342 Mon Sep 17 00:00:00 2001 From: emusic Date: Thu, 22 Mar 2018 17:49:41 +0100 Subject: solved bug regarding setter --- pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java | 1 - .../src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java | 2 +- .../src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java | 2 +- .../gv/egiz/pdfas/lib/impl/configuration/PlaceholderConfiguration.java | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java index f3e1d2c8..455fd808 100644 --- a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java +++ b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java @@ -472,7 +472,6 @@ public class Main { document.protect(spp); document.save(outputPdfFile); document.close(); - //accessPermission.setCanModify(false); logger.info("Added Protection Parameters"); } } diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java index 8e6025f3..d02c7bbc 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java @@ -21,7 +21,7 @@ public class PDFASPropertyEntry { public String getValue() { return value; } - public void setvalue(String value) { + public void setValue(String value) { this.value = value; } } diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java index b83daab9..34dca6d2 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java @@ -46,7 +46,7 @@ public class PDFASPropertyMap { String key = keyIt.next(); PDFASPropertyEntry entry = new PDFASPropertyEntry(); entry.setKey(key); - entry.setvalue(map.get(key)); + entry.setValue(map.get(key)); propertyEntries.add(entry); } } diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderConfiguration.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderConfiguration.java index 69d83239..b0b45464 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderConfiguration.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderConfiguration.java @@ -47,7 +47,7 @@ public class PlaceholderConfiguration extends SpecificBaseConfiguration } return false; } - + /** * Match selected Profile for Placeholder * Enables to activate placeholder search/match for different profiles -- cgit v1.2.3