From cd0527ebafe7199b1a171b95bf09aff79f5243e4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 25 May 2014 20:12:43 +1200 Subject: Fix meiligao decoder (fix #709) --- src/org/traccar/protocol/MeiligaoProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3