aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/OpenGtsProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-07-14 23:43:23 +0300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-07-14 23:43:23 +0300
commitab81b1434504d9ed288079f2cf0eb81aaffa668c (patch)
tree4a7270b07b5add7b16d04da85971304e8ea7ce69 /src/org/traccar/protocol/OpenGtsProtocolDecoder.java
parentf421a3f7205966cc4359bc0e01ae5afbceb006fb (diff)
downloadtrackermap-server-ab81b1434504d9ed288079f2cf0eb81aaffa668c.tar.gz
trackermap-server-ab81b1434504d9ed288079f2cf0eb81aaffa668c.tar.bz2
trackermap-server-ab81b1434504d9ed288079f2cf0eb81aaffa668c.zip
Implement TEK733 protocol
Diffstat (limited to 'src/org/traccar/protocol/OpenGtsProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/OpenGtsProtocolDecoder.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/OpenGtsProtocolDecoder.java b/src/org/traccar/protocol/OpenGtsProtocolDecoder.java
index b61426085..6ae3dc3ad 100644
--- a/src/org/traccar/protocol/OpenGtsProtocolDecoder.java
+++ b/src/org/traccar/protocol/OpenGtsProtocolDecoder.java
@@ -59,8 +59,7 @@ public class OpenGtsProtocolDecoder extends BaseHttpProtocolDecoder {
QueryStringDecoder decoder = new QueryStringDecoder(request.uri());
Map<String, List<String>> params = decoder.parameters();
- Position position = new Position();
- position.setProtocol(getProtocolName());
+ Position position = new Position(getProtocolName());
for (Map.Entry<String, List<String>> entry : params.entrySet()) {
String value = entry.getValue().get(0);