aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-15 10:15:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-15 10:15:56 +1200
commited7fe94f1da3b333a1ffff4f9238bab7484a81ca (patch)
tree7a1f3d49123710bfb0763b162beb8c924ba50953 /src/org/traccar/protocol
parent409f9ce7f9e10213ed65fb24b685d1a58777b9f2 (diff)
downloadtrackermap-server-ed7fe94f1da3b333a1ffff4f9238bab7484a81ca.tar.gz
trackermap-server-ed7fe94f1da3b333a1ffff4f9238bab7484a81ca.tar.bz2
trackermap-server-ed7fe94f1da3b333a1ffff4f9238bab7484a81ca.zip
Fix check style code issues
Diffstat (limited to 'src/org/traccar/protocol')
-rwxr-xr-xsrc/org/traccar/protocol/AppelloProtocolDecoder.java12
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java1
2 files changed, 6 insertions, 7 deletions
diff --git a/src/org/traccar/protocol/AppelloProtocolDecoder.java b/src/org/traccar/protocol/AppelloProtocolDecoder.java
index 437b588a4..f04623759 100755
--- a/src/org/traccar/protocol/AppelloProtocolDecoder.java
+++ b/src/org/traccar/protocol/AppelloProtocolDecoder.java
@@ -33,17 +33,17 @@ public class AppelloProtocolDecoder extends BaseProtocolDecoder {
}
private static final Pattern PATTERN = new PatternBuilder()
- .text("FOLLOWIT,") // brand
- .number("(d+),") // imei
+ .text("FOLLOWIT,") // brand
+ .number("(d+),") // imei
.number("(dd)(dd)(dd)") // date
.number("(dd)(dd)(dd).?d*,") // time
.number("(-?d+.d+),") // latitude
.number("(-?d+.d+),") // longitude
.number("(d+),") // speed
- .number("(d+),") // course
- .number("(d+),") // satellites
- .number("(d+),") // altitude
- .expression("([FL]),") // gps state
+ .number("(d+),") // course
+ .number("(d+),") // satellites
+ .number("(d+),") // altitude
+ .expression("([FL]),") // gps state
.any()
.compile();
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index d34868b6a..4592ccdab 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -27,7 +27,6 @@ import org.traccar.helper.BitUtil;
import org.traccar.helper.DateBuilder;
import org.traccar.helper.Parser;
import org.traccar.helper.PatternBuilder;
-import org.traccar.helper.PatternUtil;
import org.traccar.helper.UnitsConverter;
import org.traccar.model.Event;
import org.traccar.model.Position;