From e32eda1c086530ae684bdd7654425529658789a9 Mon Sep 17 00:00:00 2001 From: "gael@lhopital.org" Date: Thu, 2 Jan 2025 18:11:39 +0100 Subject: [PATCH] Rebased Some more code refactoring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaƫl L'hopital Signed-off-by: gael@lhopital.org --- .../binding/gce/internal/model/StatusFileInterpreter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.gce/src/main/java/org/openhab/binding/gce/internal/model/StatusFileInterpreter.java b/bundles/org.openhab.binding.gce/src/main/java/org/openhab/binding/gce/internal/model/StatusFileInterpreter.java index 99012270f63..593a1b460e3 100644 --- a/bundles/org.openhab.binding.gce/src/main/java/org/openhab/binding/gce/internal/model/StatusFileInterpreter.java +++ b/bundles/org.openhab.binding.gce/src/main/java/org/openhab/binding/gce/internal/model/StatusFileInterpreter.java @@ -92,7 +92,7 @@ public class StatusFileInterpreter { private void pushDatas() { getRoot().ifPresent(root -> { - PortDefinition.AS_STREAM.forEach(portDefinition -> { + PortDefinition.AS_SET.forEach(portDefinition -> { List xmlNodes = getMatchingNodes(root.getChildNodes(), portDefinition.nodeName); xmlNodes.forEach(xmlNode -> { String sPortNum = xmlNode.getNodeName().replace(portDefinition.nodeName, "");