From 5130aa24cb619a54448db43217edf4a91f19a27a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Thu, 22 Apr 2021 16:23:06 +0200 Subject: [PATCH] Remove spaces in CSV export --- .../src/main/kotlin/theodolite/evaluation/CsvExporter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/evaluation/CsvExporter.kt b/theodolite-quarkus/src/main/kotlin/theodolite/evaluation/CsvExporter.kt index 4ef78cd58..970d14870 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/evaluation/CsvExporter.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/evaluation/CsvExporter.kt @@ -24,9 +24,9 @@ class CsvExporter { val csvOutputFile = File("$name.csv") PrintWriter(csvOutputFile).use { pw -> - pw.println(listOf("group", "timestamp", "value").joinToString()) + pw.println(listOf("group", "timestamp", "value").joinToString(separator=",")) responseArray.forEach { - pw.println(it.joinToString()) + pw.println(it.joinToString(separator=",")) } } logger.info { "Wrote CSV file: $name to ${csvOutputFile.absolutePath}." } -- GitLab