aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-21 18:34:33 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-21 18:34:33 -0700
commit89a32633c1bd9119990b7b9070a1ba04e1eb0ea4 (patch)
treef033b52f45ad684de9673311d13d2b77a1937a72
parent1b07425955baf2c37216a05a0fdf6afe6258f6d7 (diff)
downloadtrackermap-server-89a32633c1bd9119990b7b9070a1ba04e1eb0ea4.tar.gz
trackermap-server-89a32633c1bd9119990b7b9070a1ba04e1eb0ea4.tar.bz2
trackermap-server-89a32633c1bd9119990b7b9070a1ba04e1eb0ea4.zip
Remove double assignment
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocolDecoder.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
index bdc6bf24e..f23274a8f 100644
--- a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
@@ -67,7 +67,6 @@ public class UproProtocolDecoder extends BaseProtocolDecoder {
DateBuilder dateBuilder = new DateBuilder()
.setTime(parser.nextInt(0), parser.nextInt(0), parser.nextInt(0));
- position.setValid(true);
position.setLatitude(parser.nextCoordinate(Parser.CoordinateFormat.DEG_MIN_MIN));
position.setLongitude(parser.nextCoordinate(Parser.CoordinateFormat.DEG_MIN_MIN));