aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Mta6ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 11:24:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 11:24:32 +1300
commit8d1e3f1f7e35e5bc0c2898ca9c9d840ef9676cd8 (patch)
treebf00317718de4a715ebf058b3ae0d6992b2d45a3 /src/org/traccar/protocol/Mta6ProtocolDecoder.java
parent43a64fc359f8acf08f97d70ebdb93dafa607dc08 (diff)
downloadtrackermap-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/Mta6ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Mta6ProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Mta6ProtocolDecoder.java b/src/org/traccar/protocol/Mta6ProtocolDecoder.java
index 5e9bb5174..c059d6160 100644
--- a/src/org/traccar/protocol/Mta6ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Mta6ProtocolDecoder.java
@@ -85,6 +85,9 @@ public class Mta6ProtocolDecoder extends BaseProtocolDecoder {
case 3:
previousFloat = (previousFloat & 0xff000000) + ((buf.readUnsignedMedium() & 0x3fffff) << 2);
break;
+ default:
+ Log.warning(new IllegalArgumentException());
+ break;
}
return Float.intBitsToFloat(previousFloat);
}