moved string control to app worker

This commit is contained in:
afischerdev 2023-10-05 12:48:06 +02:00
parent 8d4012211e
commit 90cc045404
2 changed files with 4 additions and 5 deletions

View file

@ -86,7 +86,9 @@ public class BRouterWorker {
for (String key : params.keySet()) {
Object value = params.get(key);
if (value instanceof double[]) {
theParams.put(key, Arrays.toString(params.getDoubleArray(key)));
String s = Arrays.toString(params.getDoubleArray(key));
s = s.replace("[", "").replace("]", "");
theParams.put(key, s);
} else {
theParams.put(key, value.toString());
}