aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <atananaev@lyft.com>2020-12-28 10:29:02 -0800
committerAnton Tananaev <atananaev@lyft.com>2020-12-28 10:29:02 -0800
commit04cd9f4d14111b6d568a8ddd7e5501873276b339 (patch)
treec7af253a2ce7211a698dd1454711d8c4f091cf7c /src/main/java/org/traccar/config
parent5081d445b917b26fcfe65357c3d66ff43b65fba7 (diff)
downloadtrackermap-server-04cd9f4d14111b6d568a8ddd7e5501873276b339.tar.gz
trackermap-server-04cd9f4d14111b6d568a8ddd7e5501873276b339.tar.bz2
trackermap-server-04cd9f4d14111b6d568a8ddd7e5501873276b339.zip
No query caching
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Config.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/main/java/org/traccar/config/Config.java b/src/main/java/org/traccar/config/Config.java
index 6c8ebb689..77184a528 100644
--- a/src/main/java/org/traccar/config/Config.java
+++ b/src/main/java/org/traccar/config/Config.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 - 2019 Anton Tananaev (anton@traccar.org)
+ * Copyright 2015 - 2020 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -146,12 +146,7 @@ public class Config {
}
public void setString(ConfigKey key, String value) {
- setString(key.getKey(), value);
- }
-
- @Deprecated
- public void setString(String key, String value) {
- properties.put(key, value);
+ properties.put(key.getKey(), value);
}
static String getEnvironmentVariableName(String key) {