aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/ExtendedInfoFormatter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model/ExtendedInfoFormatter.java')
-rw-r--r--src/org/traccar/model/ExtendedInfoFormatter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/model/ExtendedInfoFormatter.java b/src/org/traccar/model/ExtendedInfoFormatter.java
index e17c96cb8..756845b9d 100644
--- a/src/org/traccar/model/ExtendedInfoFormatter.java
+++ b/src/org/traccar/model/ExtendedInfoFormatter.java
@@ -40,8 +40,7 @@ public class ExtendedInfoFormatter {
@Override
public String toString() {
- data.append("</").append(rootNode).append(">");
- return data.toString();
+ return data.toString() + "</" + rootNode + ">";
}
}