aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src
diff options
context:
space:
mode:
authorEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-11-02 08:38:55 +0100
committerEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-11-02 08:38:55 +0100
commit63e243d01fdedf84fe36287e75ae58e064d3e673 (patch)
tree2c8cb9b1933679556a126bf4efcd1728fb3a37b5 /pdf-as-lib/src
parent892c852352f48b18f2f2dadff6c223039d41aba0 (diff)
downloadpdf-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')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/configuration/PlaceholderWebConfiguration.java6
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();
+ }
+
}