diff options
author | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-04-24 12:19:15 +0200 |
---|---|---|
committer | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-04-24 12:19:15 +0200 |
commit | 74f2e3d3777c7d213c35aeb4de90eb085e4f4d25 (patch) | |
tree | e22eaf9eadf1ce4ec54c1fc7df22df03a18629b1 /src/org/traccar/protocol/H02ProtocolEncoder.java | |
parent | 2107a48e60f688971495d540e13f9bf2668c2191 (diff) | |
download | trackermap-server-74f2e3d3777c7d213c35aeb4de90eb085e4f4d25.tar.gz trackermap-server-74f2e3d3777c7d213c35aeb4de90eb085e4f4d25.tar.bz2 trackermap-server-74f2e3d3777c7d213c35aeb4de90eb085e4f4d25.zip |
Checkstyle fix
Diffstat (limited to 'src/org/traccar/protocol/H02ProtocolEncoder.java')
-rw-r--r-- | src/org/traccar/protocol/H02ProtocolEncoder.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/H02ProtocolEncoder.java b/src/org/traccar/protocol/H02ProtocolEncoder.java index ba362f88e..6475c0c67 100644 --- a/src/org/traccar/protocol/H02ProtocolEncoder.java +++ b/src/org/traccar/protocol/H02ProtocolEncoder.java @@ -36,7 +36,7 @@ public class H02ProtocolEncoder extends StringProtocolEncoder { dt.getSecondOfMinute() ); - for(String param : params) { + for (String param : params) { result += "," + param; } @@ -58,7 +58,8 @@ public class H02ProtocolEncoder extends StringProtocolEncoder { case Command.TYPE_ENGINE_RESUME: return formatCommand(dt, uniqueId, "S20", "0", "0"); case Command.TYPE_POSITION_PERIODIC: - return formatCommand(dt, uniqueId, "S71", "22", command.getAttributes().get(Command.KEY_FREQUENCY).toString()); + return formatCommand(dt, uniqueId, "S71", "22", + command.getAttributes().get(Command.KEY_FREQUENCY).toString()); default: Log.warning(new UnsupportedOperationException(command.getType())); break; |