Raise minimum JDK version to 17 (#13276)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
@@ -109,9 +109,9 @@ public class EnOceanDeviceDiscoveryService extends AbstractDiscoveryService impl
|
||||
|
||||
String enoceanId = HexUtils.bytesToHex(eep.getSenderId());
|
||||
|
||||
bridgeHandler.getThing().getThings().stream()
|
||||
.filter(t -> t.getConfiguration().getProperties().getOrDefault(PARAMETER_ENOCEANID, EMPTYENOCEANID)
|
||||
.toString().equals(enoceanId))
|
||||
bridgeHandler
|
||||
.getThing().getThings().stream().filter(t -> t.getConfiguration().getProperties()
|
||||
.getOrDefault(PARAMETER_ENOCEANID, EMPTYENOCEANID).toString().equals(enoceanId))
|
||||
.findFirst().ifPresentOrElse(t -> {
|
||||
// If repeated learn is not allowed => send teach out
|
||||
// otherwise do nothing
|
||||
|
||||
Reference in New Issue
Block a user