mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Rebased
Some more code refactoring Signed-off-by: Gaël L'hopital <gael@lhopital.org> Signed-off-by: gael@lhopital.org <gael@lhopital.org>
This commit is contained in:
parent
da807f9633
commit
e32eda1c08
@ -92,7 +92,7 @@ public class StatusFileInterpreter {
|
||||
|
||||
private void pushDatas() {
|
||||
getRoot().ifPresent(root -> {
|
||||
PortDefinition.AS_STREAM.forEach(portDefinition -> {
|
||||
PortDefinition.AS_SET.forEach(portDefinition -> {
|
||||
List<Node> xmlNodes = getMatchingNodes(root.getChildNodes(), portDefinition.nodeName);
|
||||
xmlNodes.forEach(xmlNode -> {
|
||||
String sPortNum = xmlNode.getNodeName().replace(portDefinition.nodeName, "");
|
||||
|
Loading…
Reference in New Issue
Block a user