diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-23 03:34:01 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-23 03:34:01 +1200 |
commit | 1252beec948b9e320f203fedcb4c3f3ca6e2bfa1 (patch) | |
tree | 07595d323659490d2bd05c2b733653bb621044df /src/org/traccar/protocol | |
parent | 4682489dcf4e28c3899889dcf3bc46389889c90d (diff) | |
download | traccar-server-1252beec948b9e320f203fedcb4c3f3ca6e2bfa1.tar.gz traccar-server-1252beec948b9e320f203fedcb4c3f3ca6e2bfa1.tar.bz2 traccar-server-1252beec948b9e320f203fedcb4c3f3ca6e2bfa1.zip |
Remove unnecessary line break
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/Gt06ProtocolEncoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolEncoder.java b/src/org/traccar/protocol/Gt06ProtocolEncoder.java index e478424f9..e78a1b388 100644 --- a/src/org/traccar/protocol/Gt06ProtocolEncoder.java +++ b/src/org/traccar/protocol/Gt06ProtocolEncoder.java @@ -66,9 +66,9 @@ public class Gt06ProtocolEncoder extends BaseProtocolEncoder { switch (command.getType()) { case Command.TYPE_ENGINE_STOP: - return encodeContent(alternative ? "DYD,123456#\r\n" : "Relay,1#"); + return encodeContent(alternative ? "DYD,123456#" : "Relay,1#"); case Command.TYPE_ENGINE_RESUME: - return encodeContent(alternative ? "HFYD,123456#\r\n" : "Relay,0#"); + return encodeContent(alternative ? "HFYD,123456#" : "Relay,0#"); default: Log.warning(new UnsupportedOperationException(command.getType())); break; |