Bug: com.bwssystems.HABridge.plugins.domoticz.DomoticzHome.addDomoticzDevices(List,

List, String) has Boolean return type and returns explicit null
This commit is contained in:
gaudryc
2019-01-06 20:07:10 +01:00
parent df04d542db
commit 07fa11b9ff

View File

@@ -73,7 +73,7 @@ public class DomoticzHome implements Home {
private Boolean addDomoticzDevices(List<DomoticzDevice> theDeviceList, List<DomoticzDevice> theSourceList, String theKey) {
if(!validDomoticz)
return null;
return false;
Iterator<DomoticzDevice> devices = theSourceList.iterator();
while(devices.hasNext()) {
DomoticzDevice theDevice = devices.next();