aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src
diff options
context:
space:
mode:
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();
+ }
+
}