aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-01 22:53:49 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-01 22:53:49 -0800
commita0703c7737ad5c860d2571cbf09cd501a118eb86 (patch)
tree54043b0b6c72d68500f594040acf60a48801d209 /src/org
parent89a5e5c75306b9676c1534b853ec9c09c49052ef (diff)
downloadtrackermap-server-a0703c7737ad5c860d2571cbf09cd501a118eb86.tar.gz
trackermap-server-a0703c7737ad5c860d2571cbf09cd501a118eb86.tar.bz2
trackermap-server-a0703c7737ad5c860d2571cbf09cd501a118eb86.zip
Update test case
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/L100FrameDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/L100FrameDecoder.java b/src/org/traccar/protocol/L100FrameDecoder.java
index 9e08120dd..158461895 100644
--- a/src/org/traccar/protocol/L100FrameDecoder.java
+++ b/src/org/traccar/protocol/L100FrameDecoder.java
@@ -32,7 +32,7 @@ public class L100FrameDecoder extends BaseFrameDecoder {
return null;
}
- if (buf.getCharSequence(buf.readerIndex(), 4, StandardCharsets.US_ASCII).equals("ATL,")) {
+ if (buf.getCharSequence(buf.readerIndex(), 4, StandardCharsets.US_ASCII).toString().equals("ATL,")) {
return decodeNew(buf);
} else {
return decodeOld(buf);