diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-12 17:54:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-12 17:54:00 +1200 |
commit | a2dac324574dde8fe8e57bd46dd7f94d0fb60231 (patch) | |
tree | 061e957cb53e00214a33acb6317be9c0849c50fa /src/org/traccar/ServerManager.java | |
parent | f1ae2d73584d4ddded6f727c665d97f03ecf9c25 (diff) | |
download | trackermap-server-a2dac324574dde8fe8e57bd46dd7f94d0fb60231.tar.gz trackermap-server-a2dac324574dde8fe8e57bd46dd7f94d0fb60231.tar.bz2 trackermap-server-a2dac324574dde8fe8e57bd46dd7f94d0fb60231.zip |
Re-factor configuration access
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index de167b9d2..04a3fc317 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -87,7 +87,7 @@ public class ServerManager { } private boolean isProtocolEnabled(String protocol) { - return Context.getProps().containsKey(protocol + ".port"); + return Context.getConfig().hasKey(protocol + ".port"); } private void initProtocolDetector() throws SQLException { |