aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/protocol/H02ProtocolEncoder.java5
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;