aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/V680ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-10-18 13:53:00 -0700
committerGitHub <noreply@github.com>2020-10-18 13:53:00 -0700
commita9f5599a1ae18279339a7ff17058d40b9ed4fab4 (patch)
treec155c76fdd05cb43f1507d234e90d21af3050b46 /src/main/java/org/traccar/protocol/V680ProtocolDecoder.java
parentb5cfcc219cc9ab4c37077c4901f6e559e1519b13 (diff)
parent98c2e3da5ea0670360078a3f278ddef7d9e39953 (diff)
downloadtrackermap-server-a9f5599a1ae18279339a7ff17058d40b9ed4fab4.tar.gz
trackermap-server-a9f5599a1ae18279339a7ff17058d40b9ed4fab4.tar.bz2
trackermap-server-a9f5599a1ae18279339a7ff17058d40b9ed4fab4.zip
Merge pull request #4583 from kamaci/master
Redundant string operations are removed
Diffstat (limited to 'src/main/java/org/traccar/protocol/V680ProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/V680ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/V680ProtocolDecoder.java b/src/main/java/org/traccar/protocol/V680ProtocolDecoder.java
index 0342404a6..40267022b 100644
--- a/src/main/java/org/traccar/protocol/V680ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/V680ProtocolDecoder.java
@@ -62,7 +62,7 @@ public class V680ProtocolDecoder extends BaseProtocolDecoder {
if (sentence.length() == 16) {
- getDeviceSession(channel, remoteAddress, sentence.substring(1, sentence.length()));
+ getDeviceSession(channel, remoteAddress, sentence.substring(1));
} else {