aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-02-17 01:37:53 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-02-17 01:37:53 +0200
commit2a0dff15ead0c5d0cf5865acf500b8ebebe2c8e2 (patch)
tree060e13be5a43be9f07f8399265384c1164d33f9e /src/org/traccar/protocol
parent2e130b374fed3edc10b448120be0db3e388bfb28 (diff)
downloadtraccar-server-2a0dff15ead0c5d0cf5865acf500b8ebebe2c8e2.tar.gz
traccar-server-2a0dff15ead0c5d0cf5865acf500b8ebebe2c8e2.tar.bz2
traccar-server-2a0dff15ead0c5d0cf5865acf500b8ebebe2c8e2.zip
fixed checkstyle
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/WatchProtocolEncoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolEncoder.java b/src/org/traccar/protocol/WatchProtocolEncoder.java
index c81d81f91..8048d30ff 100644
--- a/src/org/traccar/protocol/WatchProtocolEncoder.java
+++ b/src/org/traccar/protocol/WatchProtocolEncoder.java
@@ -75,7 +75,8 @@ public class WatchProtocolEncoder extends StringProtocolEncoder implements Strin
buf.writeCharSequence("0001", StandardCharsets.US_ASCII);
buf.writeByte('*');
}
- buf.writeCharSequence(String.format("%04x", data.readableBytes() + textPrefix.length()), StandardCharsets.US_ASCII);
+ buf.writeCharSequence(String.format("%04x", data.readableBytes() + textPrefix.length()),
+ StandardCharsets.US_ASCII);
buf.writeByte('*');
buf.writeCharSequence(textPrefix, StandardCharsets.US_ASCII);
buf.writeBytes(data);