diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 11:12:18 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 11:12:18 +1300 |
commit | 43a64fc359f8acf08f97d70ebdb93dafa607dc08 (patch) | |
tree | 52da0b19c3da83a57348f603e7dd6467b6717b96 /src/org/traccar/protocol/OrionProtocolDecoder.java | |
parent | e997c2642b35350241614acaef6d606e37223fe6 (diff) | |
download | trackermap-server-43a64fc359f8acf08f97d70ebdb93dafa607dc08.tar.gz trackermap-server-43a64fc359f8acf08f97d70ebdb93dafa607dc08.tar.bz2 trackermap-server-43a64fc359f8acf08f97d70ebdb93dafa607dc08.zip |
Remove data model and fix some issues
Diffstat (limited to 'src/org/traccar/protocol/OrionProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/OrionProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/OrionProtocolDecoder.java b/src/org/traccar/protocol/OrionProtocolDecoder.java index 6dcc19db5..b2e1699c3 100644 --- a/src/org/traccar/protocol/OrionProtocolDecoder.java +++ b/src/org/traccar/protocol/OrionProtocolDecoder.java @@ -48,9 +48,9 @@ public class OrionProtocolDecoder extends BaseProtocolDecoder { } } - private static double convertCoordinate(int value) { - double degrees = value / 1000000; - double minutes = (value % 1000000) / 10000.0; + private static double convertCoordinate(int raw) { + int degrees = raw / 1000000; + double minutes = (raw % 1000000) / 10000.0; return degrees + minutes / 60; } |