aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/config/Config.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/config/Config.java b/src/main/java/org/traccar/config/Config.java
index d8f2a0e99..6c8ebb689 100644
--- a/src/main/java/org/traccar/config/Config.java
+++ b/src/main/java/org/traccar/config/Config.java
@@ -133,12 +133,7 @@ public class Config {
}
public double getDouble(ConfigKey key) {
- return getDouble(key.getKey());
- }
-
- @Deprecated
- public double getDouble(String key) {
- return getDouble(key, 0.0);
+ return getDouble(key.getKey(), 0.0);
}
public double getDouble(ConfigKey key, double defaultValue) {