aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TotemProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-19 12:04:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-19 12:04:22 +1300
commit43814126839b863ac73452d395a0ec5e0d817d46 (patch)
treecb2a0b3842734dbc421d65f3c42e872f875a3f7c /src/org/traccar/protocol/TotemProtocolDecoder.java
parentc46e2e86536abfe36096e4d86cd3d82f0d4e64eb (diff)
downloadtrackermap-server-43814126839b863ac73452d395a0ec5e0d817d46.tar.gz
trackermap-server-43814126839b863ac73452d395a0ec5e0d817d46.tar.bz2
trackermap-server-43814126839b863ac73452d395a0ec5e0d817d46.zip
Clean up some check style issues
Diffstat (limited to 'src/org/traccar/protocol/TotemProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TotemProtocolDecoder.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/org/traccar/protocol/TotemProtocolDecoder.java
index e5096c675..6ab2f1a27 100644
--- a/src/org/traccar/protocol/TotemProtocolDecoder.java
+++ b/src/org/traccar/protocol/TotemProtocolDecoder.java
@@ -114,10 +114,8 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder {
.num("(ddd)") // speed
.num("(dd.d)") // pdop
.num("(d{7})") // odometer
- .num("(dd)(dd.dddd)") // latitude
- .xpr("([NS])")
- .num("(ddd)(dd.dddd)") // longitude
- .xpr("([EW])")
+ .num("(dd)(dd.dddd)([NS])") // latitude
+ .num("(ddd)(dd.dddd)([EW])") // longitude
.num("dddd") // serial number
.num("xxxx") // checksum
.any()