aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:40:18 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:40:18 +1200
commitec04b5f12e13f041262c179fa103b7e4694d7327 (patch)
tree68750a078080ddfbb9f44f2eb73b1fa63d7202e3 /src/org/traccar/helper
parent7387155d9d9fdaefb260e94b1094fa5ed285fdb3 (diff)
downloadtraccar-server-ec04b5f12e13f041262c179fa103b7e4694d7327.tar.gz
traccar-server-ec04b5f12e13f041262c179fa103b7e4694d7327.tar.bz2
traccar-server-ec04b5f12e13f041262c179fa103b7e4694d7327.zip
Fix log formatting unit test
Diffstat (limited to 'src/org/traccar/helper')
-rw-r--r--src/org/traccar/helper/Log.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/helper/Log.java b/src/org/traccar/helper/Log.java
index d328fbea7..c2edebd22 100644
--- a/src/org/traccar/helper/Log.java
+++ b/src/org/traccar/helper/Log.java
@@ -169,13 +169,13 @@ public class Log {
}
if (file.equals(element.getFileName())) {
- s.append("*:");
+ s.append("*");
} else {
file = element.getFileName();
- s.append(file.substring(0, file.length() - 5)).append(":");
+ s.append(file.substring(0, file.length() - 5)); // remove ".java"
count -= 1;
}
- s.append(element.getLineNumber());
+ s.append(":").append(element.getLineNumber());
} else {
skip = true;
}