aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-27 22:57:59 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-27 22:57:59 -0800
commit454693be35b0b0bb2fdfb200a0acb946f11edddb (patch)
treeca7c4f1cdf856ca33d62e5c9539bf1324a3658ac /src/main
parent04249ece0deaaadd3250da2f5618aa13aedf5ae9 (diff)
downloadtraccar-server-454693be35b0b0bb2fdfb200a0acb946f11edddb.tar.gz
traccar-server-454693be35b0b0bb2fdfb200a0acb946f11edddb.tar.bz2
traccar-server-454693be35b0b0bb2fdfb200a0acb946f11edddb.zip
Remove unused method
Diffstat (limited to 'src/main')
-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) {