diff options
author | Emina Ahmetovic <emina.ahmetovic@egiz.gv.at> | 2020-11-02 08:38:55 +0100 |
---|---|---|
committer | Emina Ahmetovic <emina.ahmetovic@egiz.gv.at> | 2020-11-02 08:38:55 +0100 |
commit | 63e243d01fdedf84fe36287e75ae58e064d3e673 (patch) | |
tree | 2c8cb9b1933679556a126bf4efcd1728fb3a37b5 /pdf-as-lib/src/main/java/at/gv | |
parent | 892c852352f48b18f2f2dadff6c223039d41aba0 (diff) | |
download | pdf-as-4-63e243d01fdedf84fe36287e75ae58e064d3e673.tar.gz pdf-as-4-63e243d01fdedf84fe36287e75ae58e064d3e673.tar.bz2 pdf-as-4-63e243d01fdedf84fe36287e75ae58e064d3e673.zip |
change properties
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv')
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderWebConfiguration.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderWebConfiguration.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderWebConfiguration.java index 8c63ed02..3a78f24f 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderWebConfiguration.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderWebConfiguration.java @@ -6,8 +6,10 @@ public class PlaceholderWebConfiguration { protected static Properties properties = new Properties(); + //todo properties not cleaned public static void setValue(String key, String value) { + properties.clear(); properties.setProperty(key,value); } public static String getValue(String key) @@ -15,4 +17,8 @@ public class PlaceholderWebConfiguration { return properties.getProperty(key); } + public static void clear () { + properties.clear(); + } + } |