aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java b/src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java
index ddd669b36..b83d24f17 100644
--- a/src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java
@@ -130,7 +130,7 @@ public class TramigoProtocolDecoder extends BaseProtocolDecoder {
int index = buf.readUnsignedShortLE();
String id = String.format("%08d%07d", buf.readUnsignedIntLE(), buf.readUnsignedIntLE());
- DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, String.valueOf(id));
+ DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, id);
if (deviceSession == null) {
return null;
}