diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-09 15:51:11 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-09 15:51:11 +1200 |
commit | 5cf987a9e9cab3e9ec3d2a8acc335a85f2637df0 (patch) | |
tree | e290b09c50900b4700ac244827c337ff0fc3450c /src/org/traccar/protocol/TytanProtocolDecoder.java | |
parent | c40928cd674144fa5ed3dc7306c33b16823b2fad (diff) | |
download | trackermap-server-5cf987a9e9cab3e9ec3d2a8acc335a85f2637df0.tar.gz trackermap-server-5cf987a9e9cab3e9ec3d2a8acc335a85f2637df0.tar.bz2 trackermap-server-5cf987a9e9cab3e9ec3d2a8acc335a85f2637df0.zip |
Fix various issues
Diffstat (limited to 'src/org/traccar/protocol/TytanProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/TytanProtocolDecoder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java index ac94e5ca7..6788fd7b9 100644 --- a/src/org/traccar/protocol/TytanProtocolDecoder.java +++ b/src/org/traccar/protocol/TytanProtocolDecoder.java @@ -133,8 +133,7 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder { int index = buf.readUnsignedByte() >> 3; if (channel != null) { - ByteBuf response = Unpooled.copiedBuffer( - "^" + index, StandardCharsets.US_ASCII); + ByteBuf response = Unpooled.copiedBuffer("^" + index, StandardCharsets.US_ASCII); channel.writeAndFlush(new NetworkMessage(response, remoteAddress)); } |