diff options
author | Abyss777 <abyss@fox5.ru> | 2016-09-14 16:44:57 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-09-14 16:44:57 +0500 |
commit | 6a2a9637c95b1da12cc82743044c944ff2ab7f81 (patch) | |
tree | 8accf3b1cdafcb679da17fc5266980840cd2e4f2 /src/org | |
parent | 2a14da72f46fb4984713ececc63b2a73954a5782 (diff) | |
download | trackermap-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.java | 2 |
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(); |