diff options
author | Abyss777 <abyss@fox5.ru> | 2016-07-07 11:21:04 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-07-07 11:21:04 +0500 |
commit | 77aa77eab91127267d0d3d134acf21e456ecd072 (patch) | |
tree | 59e5151bc122d7213c5bb174b40c1ffd3cc030ae /src/org/traccar/protocol | |
parent | a42772c429484c5bc9168200f4be73e1a718c24f (diff) | |
download | traccar-server-77aa77eab91127267d0d3d134acf21e456ecd072.tar.gz traccar-server-77aa77eab91127267d0d3d134acf21e456ecd072.tar.bz2 traccar-server-77aa77eab91127267d0d3d134acf21e456ecd072.zip |
Space fix
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/GranitProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GranitProtocolDecoder.java b/src/org/traccar/protocol/GranitProtocolDecoder.java index 0d4aaebf3..3e2553927 100644 --- a/src/org/traccar/protocol/GranitProtocolDecoder.java +++ b/src/org/traccar/protocol/GranitProtocolDecoder.java @@ -136,7 +136,7 @@ public class GranitProtocolDecoder extends BaseProtocolDecoder { int indexTilde = buf.indexOf(buf.readerIndex(), buf.writerIndex(), new StringFinder("~")); - if (hasDeviceId() && indexTilde == -1) { + if (hasDeviceId() && indexTilde == -1) { String bufString = buf.toString(StandardCharsets.US_ASCII); Position position = new Position(); position.setProtocol(getProtocolName()); |