diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-16 10:34:07 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-16 10:34:07 +1200 |
commit | 6fefd48ab48a2382a9a7bc07e168b48a1ce8bc40 (patch) | |
tree | 6003975de73b1225e389fa1377c81311abe3faf5 | |
parent | 47156de7455533806b1ba34a872837625c8ccb1a (diff) | |
parent | 6595b5f4b32c57d8ea4f98512d39292df75a3298 (diff) | |
download | trackermap-server-6fefd48ab48a2382a9a7bc07e168b48a1ce8bc40.tar.gz trackermap-server-6fefd48ab48a2382a9a7bc07e168b48a1ce8bc40.tar.bz2 trackermap-server-6fefd48ab48a2382a9a7bc07e168b48a1ce8bc40.zip |
Merge pull request #2117 from drecchia/master-fix-checkstyle-suntech
Fixed check style issue
-rw-r--r-- | src/org/traccar/protocol/SuntechProtocolEncoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolEncoder.java b/src/org/traccar/protocol/SuntechProtocolEncoder.java index 5f6835e92..000583759 100644 --- a/src/org/traccar/protocol/SuntechProtocolEncoder.java +++ b/src/org/traccar/protocol/SuntechProtocolEncoder.java @@ -34,9 +34,10 @@ public class SuntechProtocolEncoder extends StringProtocolEncoder { if (command.getAttributes().get(Command.KEY_DATA).equals("1")) { return formatCommand(command, "SA200CMD;{%s};02;Enable{%s}\r", Command.KEY_UNIQUE_ID, Command.KEY_INDEX); - } else + } else { return formatCommand(command, "SA200CMD;{%s};02;Disable{%s}\r", Command.KEY_UNIQUE_ID, Command.KEY_INDEX); + } } case Command.TYPE_ENGINE_STOP: return formatCommand(command, "SA200CMD;{%s};02;Enable1\r", Command.KEY_UNIQUE_ID); |