aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-14 16:44:57 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-14 16:44:57 +0500
commit6a2a9637c95b1da12cc82743044c944ff2ab7f81 (patch)
tree8accf3b1cdafcb679da17fc5266980840cd2e4f2 /src/org
parent2a14da72f46fb4984713ececc63b2a73954a5782 (diff)
downloadtrackermap-server-6a2a9637c95b1da12cc82743044c944ff2ab7f81.tar.gz
trackermap-server-6a2a9637c95b1da12cc82743044c944ff2ab7f81.tar.bz2
trackermap-server-6a2a9637c95b1da12cc82743044c944ff2ab7f81.zip
Simplify regex
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/web/CsvBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/CsvBuilder.java b/src/org/traccar/web/CsvBuilder.java
index cd0f36fc4..a25b839a9 100644
--- a/src/org/traccar/web/CsvBuilder.java
+++ b/src/org/traccar/web/CsvBuilder.java
@@ -80,7 +80,7 @@ public class CsvBuilder {
Map value = (Map) method.invoke(object);
if (value != null) {
String map = MiscFormatter.toJson(value).toString();
- map = map.replaceAll("[\\{|\\}|\"]", "");
+ map = map.replaceAll("[\\{\\}\"]", "");
map = map.replaceAll(",", " ");
builder.append(map);
addSeparator();