diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-05-25 20:12:43 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-05-25 20:12:43 +1200 |
commit | cd0527ebafe7199b1a171b95bf09aff79f5243e4 (patch) | |
tree | cad56aa39d93923dadf66f4bd215dc6c003248cc /src/org/traccar | |
parent | 36f9cfdee90a4fad82a3e23186fd3d19e01dc025 (diff) | |
download | traccar-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.tar.gz traccar-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.tar.bz2 traccar-server-cd0527ebafe7199b1a171b95bf09aff79f5243e4.zip |
Fix meiligao decoder (fix #709)
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/MeiligaoProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java index c1b75d00f..6e6c6547a 100644 --- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java +++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java @@ -117,7 +117,7 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder { private String getMeiligaoServer(Channel channel) { if (getServerManager() != null && - getServerManager().getProperties().contains("meiligao.server")) { + getServerManager().getProperties().containsKey("meiligao.server")) { return getServerManager().getProperties().getProperty("meiligao.server"); } else { InetSocketAddress address = (InetSocketAddress) channel.getLocalAddress(); |