aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 10:27:06 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 10:27:06 -0800
commit53256c82683b82d69d72c5535527c99566a3188c (patch)
tree18a84a0de71caf8d597cad3787653b595ab5074f /src/org
parentdb88a6d69e036c383b91817991e7e4be1fb8bd54 (diff)
downloadtrackermap-server-53256c82683b82d69d72c5535527c99566a3188c.tar.gz
trackermap-server-53256c82683b82d69d72c5535527c99566a3188c.tar.bz2
trackermap-server-53256c82683b82d69d72c5535527c99566a3188c.zip
Small improvement
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/helper/Log.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/Log.java b/src/org/traccar/helper/Log.java
index 667f669fe..224a497e8 100644
--- a/src/org/traccar/helper/Log.java
+++ b/src/org/traccar/helper/Log.java
@@ -243,7 +243,7 @@ public final class Log {
s.append("*");
} else {
file = element.getFileName();
- s.append(file.substring(0, file.length() - 5)); // remove ".java"
+ s.append(file, 0, file.length() - 5); // remove ".java"
count -= 1;
}
s.append(":").append(element.getLineNumber());