You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/12/27 06:56:36 UTC

[streampipes] branch dev updated: [hotfix] Change event API back to float due to failing tests

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 7dfe113dc [hotfix] Change event API back to float due to failing tests
7dfe113dc is described below

commit 7dfe113dc6b30cf20513a4bf69199c50e03bfe79
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Tue Dec 27 07:55:49 2022 +0100

    [hotfix] Change event API back to float due to failing tests
---
 .../src/main/java/org/apache/streampipes/model/runtime/Event.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/streampipes-model/src/main/java/org/apache/streampipes/model/runtime/Event.java b/streampipes-model/src/main/java/org/apache/streampipes/model/runtime/Event.java
index 8da965779..58281241e 100644
--- a/streampipes-model/src/main/java/org/apache/streampipes/model/runtime/Event.java
+++ b/streampipes-model/src/main/java/org/apache/streampipes/model/runtime/Event.java
@@ -189,7 +189,7 @@ public class Event {
     }
   }
 
-  public void addField(String runtimeName, double value) {
+  public void addField(String runtimeName, Float value) {
     addPrimitive(runtimeName, value);
   }