From ec04b5f12e13f041262c179fa103b7e4694d7327 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 22 Sep 2015 11:40:18 +1200 Subject: Fix log formatting unit test --- src/org/traccar/helper/Log.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/org') 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; } -- cgit v1.2.3