aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-23 03:34:01 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-23 03:34:01 +1200
commit1252beec948b9e320f203fedcb4c3f3ca6e2bfa1 (patch)
tree07595d323659490d2bd05c2b733653bb621044df
parent4682489dcf4e28c3899889dcf3bc46389889c90d (diff)
downloadtrackermap-server-1252beec948b9e320f203fedcb4c3f3ca6e2bfa1.tar.gz
trackermap-server-1252beec948b9e320f203fedcb4c3f3ca6e2bfa1.tar.bz2
trackermap-server-1252beec948b9e320f203fedcb4c3f3ca6e2bfa1.zip
Remove unnecessary line break
-rw-r--r--src/org/traccar/protocol/Gt06ProtocolEncoder.java4
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;