aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GatorProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/GatorProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/GatorProtocolDecoder.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/GatorProtocolDecoder.java b/src/org/traccar/protocol/GatorProtocolDecoder.java
index 2dfc2e56a..b8431003b 100644
--- a/src/org/traccar/protocol/GatorProtocolDecoder.java
+++ b/src/org/traccar/protocol/GatorProtocolDecoder.java
@@ -63,10 +63,8 @@ public class GatorProtocolDecoder extends BaseProtocolDecoder {
buf.readUnsignedByte(), buf.readUnsignedByte());
id = id.replaceFirst("^0+(?!$)", "");
- if (type == MSG_POSITION_DATA ||
- type == MSG_ROLLCALL_RESPONSE ||
- type == MSG_ALARM_DATA ||
- type == MSG_BLIND_AREA) {
+ if (type == MSG_POSITION_DATA || type == MSG_ROLLCALL_RESPONSE
+ || type == MSG_ALARM_DATA || type == MSG_BLIND_AREA) {
// Create new position
Position position = new Position();