From ee64e95be31d23216dc99e32980b6ce55f389621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Wed, 17 May 2023 14:13:55 +0200 Subject: [PATCH] fix way to get DataPoint --- src/main/java/ch/hevs/isi/core/BooleanDataPoint.java | 2 +- src/main/java/ch/hevs/isi/core/FloatDataPoint.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/hevs/isi/core/BooleanDataPoint.java b/src/main/java/ch/hevs/isi/core/BooleanDataPoint.java index 5a53db6..a432e70 100644 --- a/src/main/java/ch/hevs/isi/core/BooleanDataPoint.java +++ b/src/main/java/ch/hevs/isi/core/BooleanDataPoint.java @@ -25,7 +25,7 @@ public class BooleanDataPoint extends DataPoint{ public String toString(){ String s; s = this.getLabel(); - s += ": "; + s += "="; s += this.getValue(); return s; } diff --git a/src/main/java/ch/hevs/isi/core/FloatDataPoint.java b/src/main/java/ch/hevs/isi/core/FloatDataPoint.java index 215b874..c168dd4 100644 --- a/src/main/java/ch/hevs/isi/core/FloatDataPoint.java +++ b/src/main/java/ch/hevs/isi/core/FloatDataPoint.java @@ -25,7 +25,7 @@ public class FloatDataPoint extends DataPoint{ public String toString(){ String s; s = this.getLabel(); - s += ": "; + s += "="; s += this.getValue(); return s; }