aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-21 17:46:00 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-21 17:46:00 -0700
commit82ab794c56d98a1aae8ea261ee709fecac9fbc54 (patch)
tree5b161c57c8ab5b33851fbc0d16ba3cec1fff36c0 /src/main/java
parentffc1b33d5d15068294aecc64dbeae20dd77d972d (diff)
downloadtrackermap-server-82ab794c56d98a1aae8ea261ee709fecac9fbc54.tar.gz
trackermap-server-82ab794c56d98a1aae8ea261ee709fecac9fbc54.tar.bz2
trackermap-server-82ab794c56d98a1aae8ea261ee709fecac9fbc54.zip
Rename variable
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java b/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
index 83ca74ce5..75f2b0e89 100644
--- a/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2017 - 2020 Anton Tananaev (anton@traccar.org)
+ * Copyright 2017 - 2022 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,11 +54,11 @@ public class FlespiProtocolDecoder extends BaseHttpProtocolDecoder {
List<Position> positions = new LinkedList<>();
for (int i = 0; i < result.size(); i++) {
JsonObject message = result.getJsonObject(i);
- JsonString ident = message.getJsonString("ident");
- if (ident == null) {
+ JsonString identifier = message.getJsonString("ident");
+ if (identifier == null) {
continue;
}
- DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, ident.getString());
+ DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, identifier.getString());
if (deviceSession == null) {
continue;
}