diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-23 10:27:06 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-23 10:27:06 -0800 |
commit | 53256c82683b82d69d72c5535527c99566a3188c (patch) | |
tree | 18a84a0de71caf8d597cad3787653b595ab5074f /src/org | |
parent | db88a6d69e036c383b91817991e7e4be1fb8bd54 (diff) | |
download | trackermap-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.java | 2 |
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()); |