diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-16 13:53:58 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-16 13:53:58 +1300 |
commit | 4a49c75d675439605a3f8c3ac1719fa2c3b596b8 (patch) | |
tree | eed4cced80f086e440df2ae80ee34f0bf041a6c5 /src/org/traccar/Context.java | |
parent | caa767f83b9d6107d0bd0c3e8af1dc6304f64daf (diff) | |
download | trackermap-server-4a49c75d675439605a3f8c3ac1719fa2c3b596b8.tar.gz trackermap-server-4a49c75d675439605a3f8c3ac1719fa2c3b596b8.tar.bz2 trackermap-server-4a49c75d675439605a3f8c3ac1719fa2c3b596b8.zip |
Remove unnecessary methods
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r-- | src/org/traccar/Context.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index d652c7cbd..287e5c753 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -111,12 +111,6 @@ public final class Context { return config; } - private static boolean loggerEnabled; - - public static boolean isLoggerEnabled() { - return loggerEnabled; - } - private static ObjectMapper objectMapper; public static ObjectMapper getObjectMapper() { @@ -367,8 +361,7 @@ public final class Context { config = new Config(); config.load(configFile); - loggerEnabled = config.getBoolean("logger.enable"); - if (loggerEnabled) { + if (config.getBoolean("logger.enable")) { Log.setupLogger(config); } |