From 454693be35b0b0bb2fdfb200a0acb946f11edddb Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 27 Dec 2020 22:57:59 -0800 Subject: Remove unused method --- src/main/java/org/traccar/config/Config.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/main/java') 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) { -- cgit v1.2.3