aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-21 10:52:34 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-21 10:52:34 +1300
commit40674d8338c679a958ced0a94c4b61716775045d (patch)
tree1d2dfc4c2b33c2e8399253311ac2a23b2c9c08a6 /src
parente52ccadfb975476b1a6412e615a7109ff42f787a (diff)
downloadtraccar-server-40674d8338c679a958ced0a94c4b61716775045d.tar.gz
traccar-server-40674d8338c679a958ced0a94c4b61716775045d.tar.bz2
traccar-server-40674d8338c679a958ced0a94c4b61716775045d.zip
Add another Meiligao unit test case
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MeiligaoFrameDecoder.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/MeiligaoFrameDecoder.java b/src/org/traccar/protocol/MeiligaoFrameDecoder.java
index 6dcc6fd9c..9fb530f8a 100644
--- a/src/org/traccar/protocol/MeiligaoFrameDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoFrameDecoder.java
@@ -26,9 +26,7 @@ public class MeiligaoFrameDecoder extends FrameDecoder {
@Override
protected Object decode(
- ChannelHandlerContext ctx,
- Channel channel,
- ChannelBuffer buf) throws Exception {
+ ChannelHandlerContext ctx, Channel channel, ChannelBuffer buf) throws Exception {
// Strip not '$' (0x24) bytes from the beginning
while (buf.readable() && buf.getUnsignedByte(buf.readerIndex()) != 0x24) {