diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 11:24:32 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 11:24:32 +1300 |
commit | 8d1e3f1f7e35e5bc0c2898ca9c9d840ef9676cd8 (patch) | |
tree | bf00317718de4a715ebf058b3ae0d6992b2d45a3 /src/org/traccar/protocol/CellocatorFrameDecoder.java | |
parent | 43a64fc359f8acf08f97d70ebdb93dafa607dc08 (diff) | |
download | trackermap-server-8d1e3f1f7e35e5bc0c2898ca9c9d840ef9676cd8.tar.gz trackermap-server-8d1e3f1f7e35e5bc0c2898ca9c9d840ef9676cd8.tar.bz2 trackermap-server-8d1e3f1f7e35e5bc0c2898ca9c9d840ef9676cd8.zip |
Fix last reported FindBugs issues
Diffstat (limited to 'src/org/traccar/protocol/CellocatorFrameDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/CellocatorFrameDecoder.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/CellocatorFrameDecoder.java b/src/org/traccar/protocol/CellocatorFrameDecoder.java index 3be0f5dfe..d4650d966 100644 --- a/src/org/traccar/protocol/CellocatorFrameDecoder.java +++ b/src/org/traccar/protocol/CellocatorFrameDecoder.java @@ -19,6 +19,7 @@ import org.jboss.netty.buffer.ChannelBuffer; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.handler.codec.frame.FrameDecoder; +import org.traccar.helper.Log; public class CellocatorFrameDecoder extends FrameDecoder { @@ -56,6 +57,9 @@ public class CellocatorFrameDecoder extends FrameDecoder { case CellocatorProtocolDecoder.MSG_CLIENT_MODULAR: length = 15 + buf.getUnsignedByte(13); break; + default: + Log.warning(new UnsupportedOperationException()); + break; } // Read packet |