diff options
author | Abyss777 <abyss@fox5.ru> | 2016-05-20 21:30:38 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-05-20 21:30:38 +0500 |
commit | 1bc13e97012570e617856ee15e399ec6b24b86d2 (patch) | |
tree | f0097b6b33d61bfb971d08cc74e6be0dd5495e46 /src/org/traccar/protocol/WondexFrameDecoder.java | |
parent | 970040bce55605b58e622fd382df073b5f8b97e5 (diff) | |
download | trackermap-server-1bc13e97012570e617856ee15e399ec6b24b86d2.tar.gz trackermap-server-1bc13e97012570e617856ee15e399ec6b24b86d2.tar.bz2 trackermap-server-1bc13e97012570e617856ee15e399ec6b24b86d2.zip |
Small optimization and style fix
Diffstat (limited to 'src/org/traccar/protocol/WondexFrameDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/WondexFrameDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WondexFrameDecoder.java b/src/org/traccar/protocol/WondexFrameDecoder.java index 7502c3320..c5309db71 100644 --- a/src/org/traccar/protocol/WondexFrameDecoder.java +++ b/src/org/traccar/protocol/WondexFrameDecoder.java @@ -44,7 +44,7 @@ public class WondexFrameDecoder extends FrameDecoder { } // Pass deviceId to protocol decoder long deviceId = ((Long.reverseBytes((frame.getLong(0)))) >> 32) & 0xFFFFFFFFL; - return ChannelBuffers.copiedBuffer("$ID:"+String.valueOf(deviceId), StandardCharsets.US_ASCII); + return ChannelBuffers.copiedBuffer("$ID:" + String.valueOf(deviceId), StandardCharsets.US_ASCII); } else { |