diff options
author | Anton Tananaev <anton@traccar.org> | 2023-02-25 16:17:43 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-02-25 16:17:43 -0800 |
commit | 0f5c17535ff8a3bd7a8c8a0616535077e5c72d39 (patch) | |
tree | 65ad2d537f603d3100bf9015b02b017677dc7000 /src/main/java | |
parent | dfc546a26f5b7b9486df31ccce812f44bd41168f (diff) | |
download | trackermap-server-0f5c17535ff8a3bd7a8c8a0616535077e5c72d39.tar.gz trackermap-server-0f5c17535ff8a3bd7a8c8a0616535077e5c72d39.tar.bz2 trackermap-server-0f5c17535ff8a3bd7a8c8a0616535077e5c72d39.zip |
Remove unnecessary conversion
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java | 2 |
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; } |