mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 08:13:23 +00:00
Bug: com.bwssystems.HABridge.plugins.hal.HalHome.addHalDevices(List,
List, String) has Boolean return type and returns explicit null
This commit is contained in:
@@ -104,7 +104,7 @@ public class HalHome implements Home {
|
|||||||
|
|
||||||
private Boolean addHalDevices(List<HalDevice> theDeviceList, List<HalDevice> theSourceList, String theKey) {
|
private Boolean addHalDevices(List<HalDevice> theDeviceList, List<HalDevice> theSourceList, String theKey) {
|
||||||
if(!validHal)
|
if(!validHal)
|
||||||
return null;
|
return false;
|
||||||
Iterator<HalDevice> devices = theSourceList.iterator();
|
Iterator<HalDevice> devices = theSourceList.iterator();
|
||||||
while(devices.hasNext()) {
|
while(devices.hasNext()) {
|
||||||
HalDevice theDevice = devices.next();
|
HalDevice theDevice = devices.next();
|
||||||
|
|||||||
Reference in New Issue
Block a user