From f90f39e5f1222916387e0f39f3411daf15c1e79f Mon Sep 17 00:00:00 2001 From: gaudryc Date: Sun, 6 Jan 2019 20:08:38 +0100 Subject: [PATCH] Bug: com.bwssystems.HABridge.plugins.hal.HalHome.addHalDevices(List, List, String) has Boolean return type and returns explicit null --- src/main/java/com/bwssystems/HABridge/plugins/hal/HalHome.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/bwssystems/HABridge/plugins/hal/HalHome.java b/src/main/java/com/bwssystems/HABridge/plugins/hal/HalHome.java index a18de76..3357e12 100644 --- a/src/main/java/com/bwssystems/HABridge/plugins/hal/HalHome.java +++ b/src/main/java/com/bwssystems/HABridge/plugins/hal/HalHome.java @@ -104,7 +104,7 @@ public class HalHome implements Home { private Boolean addHalDevices(List theDeviceList, List theSourceList, String theKey) { if(!validHal) - return null; + return false; Iterator devices = theSourceList.iterator(); while(devices.hasNext()) { HalDevice theDevice = devices.next();