diff options
author | emusic <emina.music@egiz.gv.at> | 2018-11-20 13:57:38 +0100 |
---|---|---|
committer | emusic <emina.music@egiz.gv.at> | 2018-11-20 13:57:38 +0100 |
commit | c42bd1c0e0b0e4016ff617e6efc7de8ca60f1019 (patch) | |
tree | 09f87e752268d6bdd4bc18e53a9a700420195eb8 | |
parent | 6e7254522d30f995464bc8af395c4daef36f30fe (diff) | |
download | pdf-as-4-c42bd1c0e0b0e4016ff617e6efc7de8ca60f1019.tar.gz pdf-as-4-c42bd1c0e0b0e4016ff617e6efc7de8ca60f1019.tar.bz2 pdf-as-4-c42bd1c0e0b0e4016ff617e6efc7de8ca60f1019.zip |
delete unused statements
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java | 3 | ||||
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java index e9e7e0f4..d1b947b0 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java @@ -54,9 +54,6 @@ public interface IConfigurationConstants { public static final String CONFIG_BKU_URL = "bku.sign.url"; - /*Protect PDF content*/ - public static final String DEFAULT_CONFIG_PROTECT_PDF = DEFAULT+SEPERATOR+"protectPDF"; - /** * MOA SS Signing Key Identifier */ diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java index d63f698f..13ac5ccd 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java @@ -587,16 +587,4 @@ public class WebConfiguration implements IConfigurationConstants { return ivalue; } - - public static boolean isPdfProtected() - { - String value = properties.getProperty(DEFAULT_CONFIG_PROTECT_PDF); - if (value != null) { - if (value.equals("true")) { - return true; - } - } - return false; - } - } |