From de942051e8152d45dcc173cc6331f4fe6e007358 Mon Sep 17 00:00:00 2001 From: Kenneth Lausdahl Date: Wed, 20 Dec 2023 11:19:01 +0100 Subject: [PATCH] fixed checkstyle --- .../intocps/maestro/interpreter/values/csv/CsvDataWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interpreter/src/main/java/org/intocps/maestro/interpreter/values/csv/CsvDataWriter.java b/interpreter/src/main/java/org/intocps/maestro/interpreter/values/csv/CsvDataWriter.java index 45a6c272..71f1734e 100644 --- a/interpreter/src/main/java/org/intocps/maestro/interpreter/values/csv/CsvDataWriter.java +++ b/interpreter/src/main/java/org/intocps/maestro/interpreter/values/csv/CsvDataWriter.java @@ -62,9 +62,9 @@ public void writeDataPoint(UUID uuid, double time, List dataPoint) { Object value = null; if (d.isNumericDecimal()) { - if (floatFormatter == null) + if (floatFormatter == null) { value = ((NumericValue) d).doubleValue(); - else { + } else { value = String.format(Locale.US, floatFormatter, ((NumericValue) d).doubleValue()); } } else if (d.isNumeric()) {